New answers tagged iptables
0
Several references say that MACVLAN is good for ethernet interfaces but that with wireless interfaces an IPVLAN L2 should be used.
I will assume that answer for this question to rework the script and test.
0
Following up on the eventHandler comment that wlan0 should not be in the same NAT as eth0 did the following:
In /etc/dhcpcd.conf changed wlan0 from 0.3 to 1.1:
interface eth0
static ip_address=192.168.0.2/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
noipv6
interface wlan0
static ip_address=192.168.1.1/24
noipv6
nohook wpa_supplicant
...
Top 50 recent answers are included
Related Tags
iptables × 110networking × 45
raspbian × 25
vpn × 19
wifi × 15
pi-3 × 11
internet × 10
ethernet × 9
port-forwarding × 9
ssh × 8
access-point × 7
pi-3b+ × 6
raspbian-stretch × 6
dhcp × 6
static-ip × 6
raspbian-buster × 5
hotspot × 5
raspbmc × 4
raspbian-wheezy × 4
hostapd × 4
bridge × 4
pi-2 × 3
pi-4 × 3
linux × 3
connection × 3