Port frowarding with slackware 10.1
A buddy of mine built me a router out of my slackware box. I don't know where the config file is for it, and cannot get in touch with him about it. Is there a default place where he would have put it, or anyone got any ideas where would be a good place to start looking?
Thanks all. -Aubrey:study: |
It would usually be /etc/rc.d/rc.firewall. If that isn't it then try:
grep iptables /etc/rc.d/* |
I added these lines in. He put it in an odd-ball location, I'm assuming for security reasons....
WINDOWS="10.0.1.x" $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 5631 -j allowed $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p tcp -d $STATIC_IP --dport 5631 -j DNAT --to-destination $WINDOWS:5631 I did the same for port 5632. It is working fine now. |
All times are GMT -5. The time now is 08:08 PM. |