LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-06-2005, 01:59 AM   #1
apoc63
Member
 
Registered: May 2004
Posts: 38

Rep: Reputation: 15
Exclamation MNF and Shorewall port forwarding


Ok I need some real help i have been refred to pages on port forwarding that dosnt really help me. I am running mandrake firewall and i know it uses shorewall. How do i go about configuring my firewall to exccept all incoming traffic on port 8080 and forward it to a local machine on my network. If i could get someone to help me please I am stuck. I kind of figured u cant do it from the web interface because i tried and its not working. I read some of the help pages and they dont help so if someone can help i would appreciate it and if u need any information please let me know.
 
Old 05-18-2005, 10:33 AM   #2
sgt.blikey
LQ Newbie
 
Registered: Jun 2003
Location: London, UK
Distribution: Debian
Posts: 3

Rep: Reputation: 0
MNF and Shorewall port forwarding

Edit /etc/shorewall/rules to include the following line before the end of the file:


DNAT net loc:192.168.10.10 tcp 8080 - 162.17.27.34
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

Where 192.168.10.10 should be replaced with the IP address of the machine on your local network and 162.17.27.34 should be replaced with your public facing IP.

If you don't know that IP address, or don't have a static IP, leave it blank.

then restart shorewall with # shorewall restart
 
Old 05-18-2005, 10:39 AM   #3
apoc63
Member
 
Registered: May 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Thx

Thanks ill try that i didnt think i would ever get a response
 
  


Reply


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
MNF and Shorewall apoc63 Linux - Newbie 2 02-08-2005 04:15 AM
Port Forwarding In MNF apoc63 Linux - Networking 1 01-06-2005 12:47 PM
Port Forwarding & MNF apoc63 Linux - Newbie 0 01-03-2005 10:41 PM
Shorewall - Port forwarding BrianNJ Linux - Networking 0 05-24-2004 08:00 AM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration