This forum is for admins who are looking to build or expand their OpenVPN setup.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
eric66300
- OpenVPN Power User
- Posts: 57
- Joined: Fri Apr 15, 2011 12:05 pm
Post
by eric66300 » Sat Apr 16, 2011 2:23 am
sir i try to run my server
openvpn /etc/openvpn/tcp80.conf
but nothing happen always this number appears
[1]31999
this s my server config
local ???./???.///?
port 80
proto tcp
dev tun
dev-node MyTap
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
push "route 192.168.10.0 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.4.4"
duplicate-cn
keepalive 10 120
tls-auth ta.key 0
cipher BF-CBC
comp-lzo
max-clients 100
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
log-append openvpn.log
verb 3
mute 5
thanks
-
janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
-
Contact:
Post
by janjust » Mon Apr 18, 2011 7:25 am
it seems a second process (the pam plugin is a good candidate) is spawning into the background, causing the message '[1]<pid>' to appear.
To see the actual status of your openvpn setup, check the 'openvpn.log' file in the directory where you started OpenVPN.
Some general tips:
* if you want openvpn to completely launch in the background, add 'daemon'
* it is best to specify a full path name when using 'log-append'
* using both 'log' and 'log-append' does not make sense: the last one specified "wins". If you had specified 'log' as the last one the log file would always be truncated every time openvpn starts.
-
maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
-
Contact:
Post
by maikcat » Mon Apr 18, 2011 10:33 am
hi there,
>dev tun
>dev-node MyTap
>server 10.8.0.0 255.255.255.0
>server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
just to know that tun interface is used for routing
and you mix server and server-bridge all together....
what you want to do?routing or bridging?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"