I have PPPOE connection, here's my /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 'fdb7:b3ce:33b6::/48'
config interface 'lan'
option ifname 'eth0'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.1.1'
config interface 'wan'
option ifname 'eth1'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option proto 'pppoe'
option username 'myusername'
option password 'mypassword'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4'
I'm pretty new with OpenWRT and have limited knowledge in Linux.
1. Can someone guide me on how to use PPTP over PPPOE connection? I'm using privateinternetaccess VPN service.
2. Is it possible to set that only certain ethernet port will use VPN? For example my router (841n v11) have 4 ethernet port, port 1 goes to PS4, port 2 goes to PC. I want my PS4 to be connected to VPN but not the PC, is that possible?