LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-13-2006, 05:12 PM   #1
jaimovier
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Port forwarding


Hi, new to linux here.

I'm running a mandrake server, and I need to broadcast a music festival through a computer on the lan network. I know this is made with iptables and port forwarding, yet after reading many forums... I can't make it work. My public IP is 146.XX.XX.232 on eth0 and my private IP is 172.XX.XX.199 on eth1. I need to forward port 9000. The computer on the lan network has it's default gateway configured through the server.

thanks!
 
Old 01-14-2006, 10:14 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Opps I read this wrong. I can't help sorry' I posted:

"
just to get you started you may need to adjust this for your network. but it should be something like:

iptables -A INPUT -o eth0 -p tcp -s 0/0 -d 146.XX.XX.232 --dport 9000 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
"

And realized it's internal networked box your broadcasting from.

Last edited by micxz; 01-14-2006 at 10:18 AM.
 
  


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 07:22 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM
port forwarding GnomeKing Linux - Networking 6 11-08-2001 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:15 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