All pastes #901442 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-12 17:36 UTC
rendered paste body
[root@mail eth0]# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       all  --  anywhere             217.156.48.225      to:192.168.0.100

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  anywhere             anywhere            to:217.156.48.234
SNAT       all  --  192.168.0.100        anywhere            to:217.156.48.225

---------------------
Feb 12 19:35:00 mail kernel: IN=eth0 OUT=eth1 SRC=my_ip DST=192.168.0.100 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=30508 DF PROTO=TCP SPT=1933 DPT=80 WINDOW=65535 RES=0x00 SYN URGP=0
Feb 12 19:35:06 mail kernel: IN=eth0 OUT=eth1 SRC=my_ip DST=192.168.0.100 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=30530 DF PROTO=TCP SPT=1933 DPT=80 WINDOW=65535 RES=0x00 SYN URGP=0