LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-22-2005, 10:56 AM   #1
Aubrey-calm
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.

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

Rep: Reputation: 79
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, 11:45 AM   #3
Aubrey-calm
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....

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.
 
  


Reply



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 07:46 AM
opening a port in slackware berrance Linux - Software 4 11-20-2004 09:24 AM
[slackware] how can I find out where my ethernet port is? Wind_Sp00n Linux - Newbie 1 09-18-2004 02:17 PM
Slackware and Port Replicators Dakz Linux - Laptop and Netbook 9 08-23-2004 11:21 AM
Installing Slackware over a serial port using ppp spyke555 Slackware - Installation 2 01-19-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 AM.

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