LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-22-2004, 01:29 PM   #1
mdkelly
LQ Newbie
 
Registered: Jan 2003
Posts: 15

Rep: Reputation: 0
Need guide for gateway setup with hardware router


Hi All,

Okay, I am a total newbie with iptables, gateways, and port forwarding, although not a newbie to linux.

What I have:
I currently have a internal network that is protected by a hardware router (cheap one though) that is currently also the Internet gateway for the network. It provides NAT, masquerading, and port forwarding for my web server, sftp server, and remote logins, and is basically setup to serve the network's current needs. The network is a mix of Linux and Win2000.

What I need to do:
I need to install openVPN to connect a remote network to the above network to get them to work as one. I have openVPN installed, but the hardware router will not let me put in static routes, therefore I need to set up a gateway/routing machine to work with the hardware router to allow openVPN operation. I know that I need to build the gateway and have all machines in the network use it for the gateway and then have the gateway forward the packets to their destination, either the openVPN machine if they are intended for the VPN or the router if they are intended for the outside world.

Being non-experienced in routing and gateways, I am stuck on how to get the gateway to do only its thing, no NAT, or port forwarding, or anything like that, and get it to work in conjunction with the hardware router which will be doing its thing.

Any direction or links to guides on setting up a gateway with a separate hardware router would be much appreciated.

I know that the gateway will need two NIC's and that they both will have internal IP addresses, one of which will be the IP address that all internal computers will use as their gateway address, and the other which fill forward the packets to the correct destination. After that I am stuck.

Thanks for any help
mdkelly
 
  


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
LAN setup (no hardware router) on SuSE 9.1 onthos Linux - Networking 0 10-19-2005 06:41 PM
Using Linux as a gateway with hardware router spudtheimpaler Linux - Networking 1 08-22-2005 01:39 PM
Looking for a good Hardware Setup Guide mudelf Linux - Hardware 1 10-18-2003 09:54 AM
how to setup a ipchains firewall after a hardware cisco router cybercop12us Linux - Security 3 10-22-2001 04:40 AM
how to setup a ipchains firewall after a hardware cisco router cybercop12us Linux - Newbie 2 09-21-2001 04:53 AM

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

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