Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-22-2005, 11:56 AM   #1
LQ Newbie
Registered: Aug 2005
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
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.

Old 09-22-2005, 02:37 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It would usually be /etc/rc.d/rc.firewall. If that isn't it then try:
grep iptables /etc/rc.d/*
Old 09-23-2005, 12:45 PM   #3
LQ Newbie
Registered: Aug 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
I added these lines in. He put it in an odd-ball location, I'm assuming for security reasons....


$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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC and Port Triggering Slackware 10 sovietpower Linux - Networking 1 02-08-2005 08:46 AM
opening a port in slackware berrance Linux - Software 4 11-20-2004 10:24 AM
[slackware] how can I find out where my ethernet port is? Wind_Sp00n Linux - Newbie 1 09-18-2004 03:17 PM
Slackware and Port Replicators Dakz Linux - Laptop and Netbook 9 08-23-2004 12:21 PM
Installing Slackware over a serial port using ppp spyke555 Slackware - Installation 2 01-19-2004 09:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration