LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 11-02-2009, 12:30 PM   #1
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Rep: Reputation: 15
Help with openvpn


I am using openvpn with bridging.

My local network:
10.1.1.0/24
eth1: 10.1.1.39
eth0: IP from ISP
VPN IPs: 10.1.1.253 and 10.1.1.254

I can ping 10.1.1.39 from the remote host and from the remote host to the vpn server but I cannot ping any other address on my 10.1.1.0/24 network.

I am thinking it is iptables but do not know how to troubleshoot.

I don't want to fill up the thread with a bunch of junk but if you need to see any of the config please let me know and I will post. I followed the how to from here: http://www.openvpn.net/index.php/ope...ion/howto.html

Thanks for any help.
 
Old 11-02-2009, 01:04 PM   #2
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Original Poster
Rep: Reputation: 15
I was able to add some logging and got this:

Nov 2 13:03:26 dolphin kernel: [ 1085.168914] FAIL! IN=br0 OUT=br0 PHYSIN=tap0 PHYSOUT=eth1 SRC=10.1.1.253 DST=10.1.1.196 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=18449 SEQ=16

10.1.1.196 is my laptop
 
Old 11-02-2009, 01:06 PM   #3
xcristi
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 16
What says ifconfig -a ?
 
Old 11-02-2009, 01:09 PM   #4
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Original Poster
Rep: Reputation: 15
wow I answered my own question.

I added these two lines and now I am able to ping:

iptables -A FORWARD -p icmp --icmp-type echo-request -j ACCEPT
iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT

Last edited by jrmontg; 11-02-2009 at 01:10 PM.
 
  


Reply

Tags
openvpn


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
openVPN help DigiCrime Linux - Networking 1 08-25-2008 10:24 AM
openvpn wanghao Linux - Server 1 06-17-2008 07:46 PM
OpenVPN Paris Heng Linux - Networking 0 04-10-2008 11:44 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM


All times are GMT -5. The time now is 05:32 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration