Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -t nat -vnL
- Chain PREROUTING (policy ACCEPT 25619 packets, 1514K bytes)
- pkts bytes target prot opt in out source destination
- 425 22636 DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25565 to:yyy.yyy.yyy.yy
- Chain INPUT (policy ACCEPT 24723 packets, 1454K bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 6617 packets, 485K bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 7927 packets, 566K bytes)
- pkts bytes target prot opt in out source destination
- 0 0 SNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:25565 to:xxx.xxx.xxx.xxx
- route -n
- Směrovací tabulka v jádru pro IP
- Adresát Brána Maska Přízn Metrik Odkazů Užt Rozhraní
- 0.0.0.0 xxx.xxx.xxx.xx 0.0.0.0 UG 0 0 0 eth0
- 10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
- xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0`
- sysctl -a | grep net.ipv4.ip_forward
- net.ipv4.ip_forward = 1
- net.ipv4.ip_forward_use_pmtu = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement