Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-01-2012, 07:23 PM   #1
Registered: Jan 2010
Distribution: Fedora 19
Posts: 83

Rep: Reputation: 3
openvpn : Initialization Sequence Completed but my ip was not changed

Hello all,

I'm running F17, I've an openvpn installed and configured ( I think ) as it should, my problem is that when I issue the command :

PHP Code:
openvpn /etc/openvpn/service.config 
I get " Initialization Sequence Completed "

but when I try to surf the internet using my pre-installed firefox my IP (as google says is the smae) still the same.

I've tried to change firefox settings to proxy prot 1194 (openvpn port)

and I got proxy refusing the connection messege

I'm not even sure whats my problem is it openvpn is not configured properly or I'm not configuring proxy setting on firefox properly.

please help
Old 06-02-2012, 07:50 AM   #2
Registered: Jan 2010
Distribution: Fedora 19
Posts: 83

Original Poster
Rep: Reputation: 3
this is my server.conf file

PHP Code:
# Sample OpenVPN config file for
# 2.0-style multi-client udp server
# Adapted from
# tun-style tunnel

port 1194
dev tun

# Use "local" to set the source address on multi-homed hosts
#local [IP address]

# TLS parms

# Tell OpenVPN to be a multi-client udp server
mode server

# The server's virtual endpoints

# Pool of /30 subnets to be allocated to clients.
# When a client connects, an --ifconfig command
# will be automatically generated and pushed back to
# the client.

# Push route to client to bind it to our local
# virtual endpoint.
push "route"

# Push any routes the client needs to get in
# to the local network.
push "route"

# Push DHCP options to Windows clients.
push "dhcp-option DOMAIN"
push "dhcp-option DNS"
push "dhcp-option WINS"

# Client should attempt reconnection on link
# failure.
keepalive 10 60

# Delete client instances after some period
# of inactivity.
inactive 600

# Route the --ifconfig pool range into the
# OpenVPN server.

# The server doesn't need privileges
user openvpn
group openvpn

# Keep TUN devices and keys open across restarts.

verb 4 
I'm connected via usb mDSL (Mobile Broadband) as NetworkManger sees it.
Old 06-04-2012, 10:15 PM   #3
LQ Newbie
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
I believe you need:
push "redirect-gateway def1"
in there to forward all traffic through the vpn.

source: *cant post a url until first post*openvpn*cant post a url until first post*net/index.php/open-source/documentation/howto*cant post a url until first post*.html

I only found this because I have the exact same problem but i do have this in my config file, please tell me if you found anything else wrong or another way you fixed it.
Old 06-05-2012, 10:52 AM   #4
LQ Newbie
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Hi, I found the problem if anyone else is stuck too, you can only "push" server to client so you need
redirect-gateway def1
in the client config file.


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
Directing OpenVPN client's traffic through the OpenVPN server mohtasham1983 Linux - Networking 1 01-17-2012 07:44 PM
OpenVPN assigning public & static IPs to pcs/devices behind an OpenVPN client dgonzalezh Linux - Networking 6 07-18-2010 10:50 AM
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 03:20 AM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 03:42 AM
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration