Page 2 of 2
Re: How to redirect xbox from local network to tun+?
Posted: Mon Mar 30, 2015 8:45 am
by maikcat
In the client opencpn config I received from openvpn provider there was: "redirect-gateway def1" and I delete it.
the directive you deleted IS for changing your default gateway,
meaning that your internet IS redirected via the vpn provider.
What does it mean?
google is your friend....
https://kindlund.wordpress.com/2007/11/ ... -in-linux/
Michael.
Re: How to redirect xbox from local network to tun+?
Posted: Mon Mar 30, 2015 9:09 am
by jergen
maikcat wrote:In the client opencpn config I received from openvpn provider there was: "redirect-gateway def1" and I delete it.
the directive you deleted IS for changing your default gateway,
meaning that your internet IS redirected via the vpn provider.
What does it mean?
google is your friend....
https://kindlund.wordpress.com/2007/11/ ... -in-linux/
Michael.
Is the other solution that I will configure my own openvpn server?
Re: How to redirect xbox from local network to tun+?
Posted: Mon Mar 30, 2015 11:32 am
by jergen
Dear Maikcat,
What option in opnevpn config file is responsible for redirection of ALL traffic?
Re: How to redirect xbox from local network to tun+?
Posted: Mon Mar 30, 2015 12:03 pm
by maikcat
in server side you should see
push "redirect-gateway def1"
in your client
redirect-gateway def1
or with def1 ommited
Michael.
Re: How to redirect xbox from local network to tun+?
Posted: Wed Apr 08, 2015 4:06 pm
by jergen
Hi Michel,
I finally installed openvpn on the vps server (freebsd). I genarated all requested keys but I have a problem to connect to it.
My idea is that the openvpn server was the easiest configured (minimalist configurations with maintaining of basic security). On the client (debian router) as you know I would like to redirect only xbox trafic to tun+ by iptables.
Could you help me again - revise my openvpn server config file and give me some tips how it should be? Thank you in advance.
Openvpn server.conf
Code: Select all
proto udp
dev tun
ca /usr/local/etc/openvpn/keys/ca.crt
cert /usr/local/etc/openvpn/keys/openvpn-client.crt
key /usr/local/etc/openvpn/keys/openvpn-client.key
dh /usr/local/etc/openvpn/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
keepalive 10 120
comp-lzo no
status openvpn-status.log
verb3