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 07-23-2006, 12:20 PM   #1
ShadowRSA
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Packet FWD on centOS


Hi all

I'm running an Asterisk server with OpenVPN. When my VPN client connects, they get IP in the range 10.10.10.x.

My internal IP range on the servers are 192.168.0.x. I already push a route to VPN clients to route 192.168.0.x -> 10.10.10.1.

How do I enable packet fwd on the the Asterisk machine to fwd the packets from the VPN on to the internal lan?


Thanks in advance.

Shadow
 
Old 07-24-2006, 11:00 AM   #2
NSWKim
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 15
Smile

ShadowRSA,

Since you're seemingly getting those ip's from dhcp you might want to just setup some simple MASQUERADE rules in iptables to forward those packets. Take a look at the 'IP Tables' section of this article:

http://www.linuxquestions.org/linux/...g/Linux_Router
 
  


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
upload problem sme 6.5rc1 nat ip fwd louhaven Linux - Networking 1 05-05-2006 04:38 PM
Kmail wont Fwd attachments kkempter Linux - Software 0 06-02-2005 11:04 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
SSH help - need to access box behind a firewall and cannot fwd ports. absolutal Linux - Networking 13 07-16-2003 12:03 PM
Which Distro for a fwd mail server bkeating Linux - General 2 05-03-2002 02:20 PM

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

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