Thursday, February 02, 2006

JBoss.com - Wiki - UsingPortForwardingWithJBoss

iptables -t nat -A PREROUTING -p tcp --dport 80 -d 10.10.100.26 -j DNAT --to 10.10.100.26:9000

# to save policy
iptables-save -c > /etc/iptables-save

#To load rule-set with the iptables-restore command, we could do this in several ways, but we will mainly look at the simplest and most common way here.

cat /etc/iptables-save iptables-restore -c

0 Comments:

Post a Comment

<< Home