Hi,
In the past i have setup a nat network manually using the /etc/network/interfaces file, using something like:
This sets up a network in addition to a port forwarding rule that i can enable/disable by commenting
Now that i have read about SDN i switched to SDN because it has a gui, but now i don't see a way to setup port forwarding.
Is there a way to set up port forwarding when using SDN?
In the past i have setup a nat network manually using the /etc/network/interfaces file, using something like:
Code:
iface vmbr1 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
# post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 3033 -j DNAT --to 192.168.1.2:22
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
This sets up a network in addition to a port forwarding rule that i can enable/disable by commenting
Now that i have read about SDN i switched to SDN because it has a gui, but now i don't see a way to setup port forwarding.
Is there a way to set up port forwarding when using SDN?