26371b33 by Sébastien Le Moal

Update networking-up.sh

1 parent e5434282
#!/bin/sh
## IP forwarding activation
echo 1 > /proc/sys/net/ipv4/ip_forward
# Point PFSense WAN as route to VMs
# Point OPNsense WAN as route to VMs
ip route change 10.10.10.0/24 via 10.10.9.2 dev vmbr1
# Point OPNsense WAN as route to VPN
ip route add 10.2.2.0/24 via 10.0.0.2 dev vmbr1
\ No newline at end of file
ip route add 10.20.0.0/24 via 10.0.9.2 dev vmbr1
\ 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!