File: masquerade.result

package info (click to toggle)
ferm 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: perl: 2,839; sh: 126; makefile: 120
file content (4 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE --to-ports 10000:20000
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE --to-ports 20000:30000 --random
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE --to-ports 20001:30001 --random-fully