Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-29-2017, 08:12 AM   #1
LQ Newbie
Registered: Jul 2017
Posts: 1

Rep: Reputation: Disabled
Need help setting up openvpn connection sharing. Tun0 --> eth1 --> xbox

I am very new to the Linux networking scene. So I will probably explain things wrong but bear with me, please.
I had to restore my raspbian due to system damage.

what I need is
tun0 --->eth1--->xbox--->internet/xboxlive

So on my RPI, I am running raspbian, keep in mind I did have this working doing Linux tutorial. I also have everything necessary to get this working. Just it is not working now.

eth0 home network in
eth1 USB-Ethernet adapter, i have used it the system comes with proper drivers
tun0 openvpn

Programs I use at the moment:

My current config script file I run.


sudo upnpd eth1 tun0

echo 1 > /proc/sys/net/ipv4/ip_forward

sudo iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE

sudo iptables -A FORWARD -i eth1 -o tun0 -m conntrack --ctstate NEW -j ACCEPT

sysctl net.netfilter.nf_conntrack_acct=1

sudo ifconfig eth1 netmask



My isc-dhcp-server config

subnet netmask {
option domain-name-servers;
option routers;

the interface is set to eth1.

My issue is, after doing all I listed above, i get a flashing orange light, and a solid green light on my adapter. No connection going to the xbox at all.
Old 08-04-2017, 06:41 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,001

Rep: Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276
Post the output of 'route' & 'ifconfig' and we'll see what's going on.
Old 08-08-2017, 02:41 PM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
The lights probably indicate the speed of the connection.


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
configuring openvpn with iptables rules (internet connection freezes when tun0 is up) BlackHawk Linux - Networking 11 06-22-2011 01:36 AM
How to set a route for Eth1 (DHCP clients) to reach Tun0 (openvpn server)? CentOS torontob Linux - Networking 2 09-22-2010 01:14 AM
iptables question with OpenVPN (tun0 to tun0 filtering) fang0654 Linux - Server 3 09-30-2009 03:17 AM
Sharing internet connection wifi router -> Fedora 10 -> Xbox 360 biszkhopt Linux - Networking 6 05-26-2009 11:47 AM
sharing wireless connection with xbox verdeboy2k Linux - Wireless Networking 1 11-15-2005 08:55 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:30 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