IST-2000-25187
Deliverable D4.3
Evaluation of Phase I Field Trial
TORRENT
IST-2000-25187 PUBLIC Page 48 of 77
iptables -F
iptables -t nat -F
iptables -X
iptables -Z # zero all counters
#
# Not firewalling at all
#
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -A PREROUTING -d 193.72.156.82 -j DNAT --to 192.168.200.2
iptables -A FORWARD -d 192.168.200.2 -o eth1 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.200.2 -j SNAT –to-source 192.168.200.1
iptables -t nat -A PREROUTING -d 193.72.156.83 -j DNAT --to 192.168.201.2
iptables -A FORWARD -d 192.168.201.2 -o eth2 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.201.2 -j SNAT --to-source192.168.201.1
iptables -t nat -A PREROUTING -d 193.72.156.85 -j DNAT --to 192.168.0.1
iptables -A FORWARD -d 192.168.0.1 -o eth2 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.0.1 -j SNAT --to-source192.168.201.1
iptables -t nat -A PREROUTING -d 193.72.156.86 -j DNAT --to 192.168.1.1
iptables -A FORWARD -d 192.168.1.1 -o eth2 -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.1.1 -j SNAT --to-source192.168.201.1
# additional routing entry for remote access to the J500:
Kommentare zu diesen Handbüchern