Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 09-25-2019, 08:43 AM   #1
Beta Member
Join Date: Sep 2019
Location: USA
Posts: 1
Default wifi/lan bridge fails on some networks

I've setup a RPI to connect to a wifi network and used iptables to nat all traffic from eth0 to wlan0. When i perform this setup on some networks it works but on other networks it does not - the goal is to take in public wifi (such as from a hotel) and bridge it to ethernet which is connected to a router with other items behind it. Below is a summary of the steps im taking

1. install dnsmasq
2. enable ip forwarding
3. assign eth0 a static
4. configure dnsmasq for eth0
5. connect to wifi using wlan0
6. setup iptables with nat/masquerade

I've also tried to do the windows equivalent with internet connection sharing but was confronted with the same results - The same networks that worked with the pi worked with windows 10 but the networks that would not nat on the pi would not nat on windows either. If i leave my configs in place and connect to a different wifi (that works for this purpose) everything downstream receives internet as expected.

Could there be something upstream from my rpi/win10 bridge that prevents nat'ing on some networks?
mherber2 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 11:49 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0