Thanks for your help. I’ve just masked anything resembling a MAC address. My goal is to set it up so I can use this router for VPN connections but still have access via it to other devices on the network.
kyson-lok:
cat /etc/config/network
config interface ‘loopback’
option ifname ‘lo’
option proto ‘static’
option ipaddr ‘127.0.0.1’
option netmask ‘255.0.0.0’
config globals ‘globals’
option ula_prefix ‘xx:xx:xx:xx:xx:xx::/48’
config interface ‘lan’
option type ‘bridge’
option proto ‘static’
option netmask ‘255.255.255.0’
option ip6assign ‘60’
option hostname ‘GL-AR750S-248’
option ipaddr ‘192.168.0.27’
option ifname ‘eth0.1’
config interface ‘wan’
option hostname ‘GL-AR750S-248’
option metric ‘10’
option ifname ‘eth0.2’
option proto ‘dhcp’
option peerdns ‘1’
config interface ‘wan6’
option proto ‘dhcpv6’
option ifname ‘eth0.2’
config switch
option name ‘switch0’
option reset ‘1’
option enable_vlan ‘1’
config switch_vlan
option device ‘switch0’
option vlan ‘1’
option ports ‘2 3 0t’
config switch_vlan
option device ‘switch0’
option vlan ‘2’
option ports ‘1 0t’
kyson-lok:
ifconfig
br-lan Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.27 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: xx:xx:xx:xx:xx:xx:9248/64 Scope:Link
inet6 addr: xx:xx:xx:xx:xx:xx::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23004 errors:0 dropped:0 overruns:0 frame:0
TX packets:15292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4345755 (4.1 MiB) TX bytes:6932993 (6.6 MiB)
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xx:xx:xx:xx:xx:xx:9248/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30416 errors:0 dropped:0 overruns:0 frame:0
TX packets:17975 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21806267 (20.7 MiB) TX bytes:3599855 (3.4 MiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30390 errors:0 dropped:0 overruns:0 frame:0
TX packets:16956 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21250913 (20.2 MiB) TX bytes:3190289 (3.0 MiB)
eth0.2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xx:xx:xx:xx:xx:xx:9248/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1005 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:336306 (328.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:591 errors:0 dropped:0 overruns:0 frame:0
TX packets:591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:45768 (44.6 KiB) TX bytes:45768 (44.6 KiB)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xx:xx:xx:xx:xx:xx:9249/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29230 errors:0 dropped:0 overruns:0 frame:0
TX packets:45288 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6051024 (5.7 MiB) TX bytes:29607366 (28.2 MiB)
wlan1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: xx:xx:xx:xx:xx:xx:9248/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9023 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1686280 (1.6 MiB)
kyson-lok:
logread
This is very long, should I really post it?