LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-28-2009, 10:31 AM   #1
kingdean
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Routing per Port


Hi guise,

I have a server setup here with a WLAN and 2 wired ethernet interfaces

I've got my LAN on one wired ethernet and internet access on WLAN and the other ethernet, I'm just wondering if I can route internet access from either the WLAN or Ethernet to the LAN depending on the ports

That is, I would like to use things like IRC on the wired but webbrowsing on the wireless. So like route port 80 through Wifi0 to eth0 and route port 6667 through eth1 to eth0 is what I am thinking.

Is there anyway to do this?

Cheers,
Dean
 
Old 02-28-2009, 10:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Of course there is, this is Linux! Here's a good example... http://www.gokhancetinkaya.net/?p=39
 
Old 02-28-2009, 06:46 PM   #3
kingdean
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I thought there would be but my knowledge of ip route/ip tables features isn't the best

Thanks for the help!
 
  


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
Port based routing neos Linux - Networking 1 09-21-2005 01:15 PM
routing port 80 bm1 Linux - Hardware 3 12-20-2003 01:55 PM
particular port routing for a nat bobster666 Linux - Networking 4 01-18-2003 06:28 PM
routing on a specific port stapper Linux - Networking 0 10-10-2002 01:08 PM
Port Routing/mapping Fuigus Linux - Networking 1 09-14-2001 04:29 AM

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

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