LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2013, 05:45 PM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
openvpn ip forwarding is not working properly


Hi all,

i connected two remote machines via openvpn tunnel. they connected perfectly and working fine. my networks are as below.



vm1 vm2
10.3 router A 10.0.0.4 ======10.1.0.4 router B 80.3

router A- 192.168.10.3(local ) 10.0.0.0(remote)
router B- 192.168.80.0 (local) 10.1.0.0 (remote)

Now thing is i can ping 80.3 from 10.1.0.4 but i can't ping from 10.0.0.4, i also enabled ip_forwarding in vm2 and vm1 , also enabled masquerade and forwd in iptables, but no use i guess something wrong with openvpn push routes.

please help me . my target is i should ping router A from vm2 via vm1 and router B from vm1 via vm2.

please help me.
 
Old 09-10-2013, 02:01 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
It's a bit unclear to me.
Please specify:
1) Each routers addresses with network mask for all interfaces.
2) You can't use the address 192.168.80.0, it's the network address not to be used on a nic.
3) Post the config for OpenVPN on both sides.
 
  


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
OpenVPN & port forwarding options Carlton23 Linux - Networking 12 01-17-2013 09:59 AM
OPENVPN - Port Forwarding giannos Linux - Networking 4 10-12-2010 08:53 AM
Openvpn with Ethernet is not wokring properly. Timtastic Linux - Server 1 01-31-2010 04:46 AM
port forwarding - multiple IP's and openvpn jonnytabpni Linux - Networking 2 09-19-2009 02:41 AM
With OpenVPN, how do you get the TAP adapter to work properly ? OralDeckard Linux - Software 1 09-13-2009 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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