LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-22-2014, 05:00 PM   #1
mmtreen
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
Solving a specific ip routing by mapping a port?


I should know how to do this.

We have a Linux box with 2 NICs acting as our gateway. The IP address for the ISP link, which has multiple devices I need to access, radio links and modem,is on 192.168.1.x.

Our network lives on 192.168.0.x.

I want to be able to access the .1 network from a single IP address on the .0.

Is there an easy way to do this?

Mapping a specific port on the local network side to a specific IP address on the ISP side would also work

Thanks for the help.
 
Old 01-24-2014, 03:32 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
If it's already acting as a gateway (i.e. forwarding IP traffic) then what's not already possible about that? That should be already working, save for iptables rules that might be blocking access surely? Show us the output of "iptables -vnL", your routing table - "route -n" on the gateway
 
  


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
Application specific routing (not routing p2p over vpn) tkalfaoglu Linux - Networking 1 06-15-2013 07:33 AM
Routing traffic by port number to specific interface meekamoo Linux - Networking 3 01-17-2011 09:14 AM
Null routing to one specific IP/Port astroboy5714 Linux - Networking 1 03-12-2004 07:51 AM
routing on a specific port stapper Linux - Networking 0 10-10-2002 02:08 PM
Port Routing/mapping Fuigus Linux - Networking 1 09-14-2001 05:29 AM

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

All times are GMT -5. The time now is 10:40 PM.

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