26371b33 by Sébastien Le Moal

Update networking-up.sh

1 parent e5434282
1 #!/bin/sh 1 #!/bin/sh
2 ## IP forwarding activation 2 ## IP forwarding activation
3 echo 1 > /proc/sys/net/ipv4/ip_forward 3 echo 1 > /proc/sys/net/ipv4/ip_forward
4 # Point PFSense WAN as route to VMs 4 # Point OPNsense WAN as route to VMs
5 ip route change 10.10.10.0/24 via 10.10.9.2 dev vmbr1 5 ip route change 10.10.10.0/24 via 10.10.9.2 dev vmbr1
6 # Point OPNsense WAN as route to VPN 6 # Point OPNsense WAN as route to VPN
7 ip route add 10.2.2.0/24 via 10.0.0.2 dev vmbr1
...\ No newline at end of file ...\ No newline at end of file
7 ip route add 10.20.0.0/24 via 10.0.9.2 dev vmbr1
...\ No newline at end of file ...\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!