We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iptables:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
polycube: https://github.com/polycube-network/polycube/blob/master/src/services/pcn-nat/test/test_tcp_masq.sh polycubectl nat add nat1 polycubectl router add r1
polycubectl router r1 ports add to_veth1 ip=$to_veth1_ip/24 peer=veth1 polycubectl router r1 ports add to_veth2 ip=$to_veth2_ip/24 peer=veth2
polycubectl attach nat1 r1:to_veth2 position=first
polycubectl nat1 rule masquerade enable
i don't understand what is the router use for this example seem complicated for me
The text was updated successfully, but these errors were encountered:
No branches or pull requests
iptables:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
polycube:
https://github.com/polycube-network/polycube/blob/master/src/services/pcn-nat/test/test_tcp_masq.sh
polycubectl nat add nat1
polycubectl router add r1
polycubectl router r1 ports add to_veth1 ip=$to_veth1_ip/24 peer=veth1
polycubectl router r1 ports add to_veth2 ip=$to_veth2_ip/24 peer=veth2
polycubectl attach nat1 r1:to_veth2 position=first
polycubectl nat1 rule masquerade enable
i don't understand what is the router use for
this example seem complicated for me
The text was updated successfully, but these errors were encountered: