garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ (也欢迎关注B站 https://space.bilibili.com/2123686105 )
GNU Lesser General Public License v2.1
1.71k stars 152 forks source link

Internet access from ethernet doesn't seem to work. #22

Closed kyoforkshomebrews closed 2 years ago

kyoforkshomebrews commented 3 years ago

I'm trying to simply get an AP that forwards the internet access from ethernet (eth0 in my case) on a raspberry pi. However when I connect to that AP it doesn't seem to be able to connect to any internet address. My command looks like this: sudo ./lnxrouter --ap wlan0 MyAP -o eth0

kyoforkshomebrews commented 2 years ago

Nevermind, it was my own fault because I added a bridge beforehand and also denyed DHCP for interfaces other than br0.