How to set iptables on MSN it?

Category: Linux/Unix Community -> Applications Author: taowei19890605 Date: 2001-07-10 08:06:00
 
taowei19890605
2001-07-10 08:06:00
Now go through a linux gateway, not on msn, but you can qq
iptables on port 1863 after which added still can not get out, how can
internal LAN msn ah?

I am using a
iptables-A FORWARD-p TCP - dport 1863-j ACCEPT
iptables-A FORWARD-p TCP - -dport 7801:7825-j ACCEPT
iptables-A FORWARD-p TCP - dport 6891:6900-j ACCEPT
iptables-A FORWARD -d 64.4.13.0/24-j ACCEPT

can sometimes last, but want to retry n times, how could this be?
guokai157
2001-07-10 08:16:05
in / etc / rc. local adding
/ sbin / iptables-t nat-F
/ sbin / iptables-F
/ sbin / iptables-t nat-A POSTROUTING -s 0.0.0.0 / 0-o eth0-j MASQUERADE

OK.

sodisna0327
2001-07-10 08:31:01
echo 1> ;/ proc/sys/net/ipv4/ip_forward
/ sbin / rmmod ipchains
/ sbin / modprobe ip_tables
/ sbin / modprobe iptable_filter
/ sbin / modprobe iptable_nat
/ sbin / modprobe ip_conntrack
/ sbin / modprobe ip_conntrack_ftp
/ sbin / modprboe ip_nat_ftp
/ sbin / iptables-F INPUT
/ sbin / iptables-F FORWARD
/ sbin / iptables-F POSTROUTING-t nat
/ sbin / iptables-P FORWARD DROP
/ sbin / iptables - t nat-A POSTROUTING-o eth0-s 10.176.0.0/24-j MASQUERADE
/ sbin / iptables-A FORWARD-i eth0-m state ; - state ESTABLISHED, RELATED-j ACCEPT
/ sbin / iptables-A FORWARD-s 10.176.0.0/24-j ACCEPT