Update networking-up.sh
Showing
1 changed file
with
2 additions
and
2 deletions
| 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 | ... | ... |
-
Please register or sign in to post a comment