Forwarding traffic from wlan0 to tun0 in Raspbian
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sun Jan 14, 2018 7:09 pm
Forwarding traffic from wlan0 to tun0 in Raspbian
Hi,
I'm running a raspberry pi model 3 with built in WiFi with raspbian stretch lite as my operating system ( fresh install ) and i have Stunnel and OpenVPN installed and running
My intent is to use my raspberry pi as a wireless SSL VPN router.
I followed this guide to bridge my wlan0 traffic to eth0 traffic via br0
https://www.raspberrypi.org/documentati ... s-point.md
which works but its not taping into the OpenVPN tunnel I've created as it's routing the traffic to my ISP ( probably due to the eth0 bridge i made with wlan0), in reality what i want is my wlan0 traffic to access my tun0 interface that OpenVPN uses to access the SSL OpenVPN encryption
I've done a bunch of reading and i'm kinda stuck any advice or HOWTO's that you can recommend.
Thank you !!!!
I'm running a raspberry pi model 3 with built in WiFi with raspbian stretch lite as my operating system ( fresh install ) and i have Stunnel and OpenVPN installed and running
My intent is to use my raspberry pi as a wireless SSL VPN router.
I followed this guide to bridge my wlan0 traffic to eth0 traffic via br0
https://www.raspberrypi.org/documentati ... s-point.md
which works but its not taping into the OpenVPN tunnel I've created as it's routing the traffic to my ISP ( probably due to the eth0 bridge i made with wlan0), in reality what i want is my wlan0 traffic to access my tun0 interface that OpenVPN uses to access the SSL OpenVPN encryption
I've done a bunch of reading and i'm kinda stuck any advice or HOWTO's that you can recommend.
Thank you !!!!
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
Where is your openvpn server located ?
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sun Jan 14, 2018 7:09 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
The SSL OpenVPN server would be hosted off site through a third party commerical VPN operator that I would be connecting too.
Any help with this would be extremely appreciated as I've done a bunch of searching and this topic isn't covered about on the internet it would seem....
Basically I want my Raspberry PI to become SSL OpenVPN router....
Cheers
Any help with this would be extremely appreciated as I've done a bunch of searching and this topic isn't covered about on the internet it would seem....
Basically I want my Raspberry PI to become SSL OpenVPN router....
Cheers
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sun Jan 14, 2018 7:09 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
I pay a fee each year to a company that provides a VPN service with multiple servers around the world that I can connect to.
Hope that helps?
Hope that helps?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
So what you actually want is to route all your LAN data to the VPN service provider because you do not have your own OpenVPN Server ..
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sun Jan 14, 2018 7:09 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
Yes, exactly !
I basically wish to use my Raspberry Pi as a SSL VPN router so i can use my cell phone and tablet on the internet with SSL OpenVPN encryption as a means to avoid data mining from my ISP.
My Stunnel and OpenVPN client connect to my commercial SSL OpenVPN provider no problem my issue is getting my wifi connections wlan0 to pass their traffic through the SSL tunnel tun0.
Again any help with this is much apprecaited as i can find a bunch of info on briding wlan0 to eth0 but nothing on wlan0 to tun0.
I basically wish to use my Raspberry Pi as a SSL VPN router so i can use my cell phone and tablet on the internet with SSL OpenVPN encryption as a means to avoid data mining from my ISP.
My Stunnel and OpenVPN client connect to my commercial SSL OpenVPN provider no problem my issue is getting my wifi connections wlan0 to pass their traffic through the SSL tunnel tun0.
Again any help with this is much apprecaited as i can find a bunch of info on briding wlan0 to eth0 but nothing on wlan0 to tun0.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 5
- Joined: Sun Jan 14, 2018 7:09 pm
Re: Forwarding traffic from wlan0 to tun0 in Raspbian
Yes the wlan0 > eth0 bridge works