Hi Proxmox.
After a lot of reading regarding this issue , and not much answer to a solution i think
a might have a working solution...
What i want to archive was this setup.
INET - KVM Pfsense - eth1 - proxmox - eth0 - LAN.
Then i would be 100% that all traffic passed through the KVM Pfsense as i normally
had on a ALIX board...
proxmox server : 192.168.1.90
pfsense : LAN : 192.168.1.41 WAN 10.0.0.41
ADSL router : 10.0.0.1
First my /etc/network/interfaces on the proxmox
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.1.90
netmask 255.255.255.0
#gateway 192.168.1.41
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
I have comment out the gateway cause it's not up working at the time the proxmox
is initializing the network interfaces.. It if first available when KVM Pfsense is loaded
therefore i bring the gateway up in /etc/rc.local
i added this line to the file :
route add default gw 192.168.1.41 dev vmbr0
PS! quick and dirty fix but it works...
I then installed the pfsense firewall ISO as a KVM and i added the 2 NIC to it.
vmbr0 - LAN
vmbr1 - WAN
remember to check that the MAC addresses are correct...
Install the Pfsense -> Install to harddisk think it's option 99 , and when it's done
alter the LAN it's normal set to 192.168.1.1 to in my case 192.168.1.41...
I then configured the WAN IP on pfsense to 10.0.0.41 and i set the gateway to
10.0.0.1
Check the pfsense can ping for instance google.com and that it can ping your
computer on the LAN it's very important that this works...
I have several Venet OPenVZ containers check that they are able to reach the
internet.
When all this is done , restart your proxmox server so you're sure it's working...
I'm not able of doing a WIKI on this subject but if something be more correctly done
please make a comment.
Hope this could solve the firewall issue..
/Michael
After a lot of reading regarding this issue , and not much answer to a solution i think
a might have a working solution...
What i want to archive was this setup.
INET - KVM Pfsense - eth1 - proxmox - eth0 - LAN.
Then i would be 100% that all traffic passed through the KVM Pfsense as i normally
had on a ALIX board...
proxmox server : 192.168.1.90
pfsense : LAN : 192.168.1.41 WAN 10.0.0.41
ADSL router : 10.0.0.1
First my /etc/network/interfaces on the proxmox
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.1.90
netmask 255.255.255.0
#gateway 192.168.1.41
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
I have comment out the gateway cause it's not up working at the time the proxmox
is initializing the network interfaces.. It if first available when KVM Pfsense is loaded
therefore i bring the gateway up in /etc/rc.local
i added this line to the file :
route add default gw 192.168.1.41 dev vmbr0
PS! quick and dirty fix but it works...
I then installed the pfsense firewall ISO as a KVM and i added the 2 NIC to it.
vmbr0 - LAN
vmbr1 - WAN
remember to check that the MAC addresses are correct...
Install the Pfsense -> Install to harddisk think it's option 99 , and when it's done
alter the LAN it's normal set to 192.168.1.1 to in my case 192.168.1.41...
I then configured the WAN IP on pfsense to 10.0.0.41 and i set the gateway to
10.0.0.1
Check the pfsense can ping for instance google.com and that it can ping your
computer on the LAN it's very important that this works...
I have several Venet OPenVZ containers check that they are able to reach the
internet.
When all this is done , restart your proxmox server so you're sure it's working...
I'm not able of doing a WIKI on this subject but if something be more correctly done
please make a comment.
Hope this could solve the firewall issue..
/Michael