Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th May 2012, 03:02 AM
hyperplus Offline
Registered User
 
Join Date: May 2007
Posts: 41
linuxfirefox
[Q] Help with OpenVpn client and dhcp options - foreign_option

Ok, I am frustrated with how much time I has spent trying to figure out OpenVpn and DCHP / DNS configurations...

So far I can only connect vpn to work BY MANUALLY setting ip and dns (@resolv.conf). But with this setup I can't remote into my pc. I can ping my pc name, but not pcName.domainAddress which I find strange.

I can connect OK from Windows with almost the same client config file. Where I am stuck is reading the options from the up / down scripts correctly by using foreing_option_x. And I don't see how to debug this... (echo maybe)?....

Here is the part where I see something strange while connecting...

Mon May 7 23:11:14 2012 OPTIONS IMPORT: timers and/or timeouts modified
Mon May 7 23:11:14 2012 OPTIONS IMPORT: route options modified
Mon May 7 23:11:14 2012 ROUTE default_gateway=192.168.0.1
Mon May 7 23:11:14 2012 TUN/TAP device tap0 opened
Mon May 7 23:11:14 2012 TUN/TAP TX queue length set to 100
Mon May 7 23:11:14 2012 /etc/openvpn/update-resolv-conf tap0 1500 1574 init
Redirecting to /bin/systemctl nscd.service
Unknown operation nscd.service
Mon May 7 23:11:14 2012 /sbin/ip route add 172.21.16.0/23 via 172.21.20.1 metric 600
RTNETLINK answers: No such process
Mon May 7 23:11:14 2012 ERROR: Linux route add command failed: external program exited with error status: 2
Mon May 7 23:11:14 2012 /sbin/ip route add 172.21.18.0/23 via 172.21.20.1 metric 500
RTNETLINK answers: No such process

The last line kind of repeats for all routes.. and I don't see the DNS IP in any of the IPs pushed.


IDEAS PLEASE...
Reply With Quote
  #2  
Old 10th May 2012, 12:04 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: [Q] Help with OpenVpn client and dhcp options - foreign_option

You probably have a syntax error in your route commands.
Reply With Quote
Reply

Tags
client, dhcp, foreignoption, openvpn, options

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client disconnects me from LAN flaim Servers & Networking 2 16th September 2009 08:02 PM
how can openvpn get an ip from dhcp? ratal Servers & Networking 9 18th May 2009 09:25 AM
Keyring Manager - Options to disable for openvpn tonypmartin Using Fedora 3 27th June 2008 06:28 AM
Openvpn Client Setup on FC5 kw1502 Servers & Networking 3 29th October 2006 07:59 PM
dhcp client not getting IP from dhcp server jkmartha Servers & Networking 2 17th June 2005 03:06 PM


Current GMT-time: 23:41 (Thursday, 31-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinģ Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat