mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
forgot to bridge on the gate ports))))
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e31edc255b
commit
b3e9302650
@ -4,7 +4,6 @@ iface lo inet6 loopback
|
|||||||
|
|
||||||
auto lan
|
auto lan
|
||||||
iface lan inet dhcp
|
iface lan inet dhcp
|
||||||
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
||||||
hostname $(hostname)
|
hostname $(hostname)
|
||||||
|
|
||||||
auto admin
|
auto admin
|
||||||
@ -16,3 +15,14 @@ iface wan inet static
|
|||||||
address ${WAN_IP}
|
address ${WAN_IP}
|
||||||
gateway ${WAN_GATE}
|
gateway ${WAN_GATE}
|
||||||
hostname $(hostname)
|
hostname $(hostname)
|
||||||
|
|
||||||
|
auto br0
|
||||||
|
iface br0 inet stattic
|
||||||
|
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||||
|
pre-up brctl addbr br0
|
||||||
|
|
||||||
|
bridge-ports lan wan
|
||||||
|
bridge-sip off
|
||||||
|
hostname $(hostname)
|
||||||
|
|
||||||
|
post-down brctl delbr br0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user