Sean Rhodes
Regular Contributor
The AppleTV plays fine, but on the iPad I get "this content can only be played in the UK" error.
It looks like the iPad IP is not being passed through, how do I add the rule for that, I thought it would get passed when I re-ran script 3.
When I go to the VPN Client GUI and add the IP address and restart the tunnel, it gets picked up and works. I thought for x3mRouting options 1 and 3, that I did not have to add an IP address and it took them from the x3mRouting_client_rules? Can you tell me what I'm misunderstanding? Also, why is 10.1.0.60 showing twice in the rules?
I re-ran the x3mRouting_client_nvram.sh script again which made another duplicate entry so I removed two of the rules:
It seems to be working fine:
but I think these are from the GUI not the client_ rules
I read through some of the older posts and I think I have both 1 and 3 running, so I think I will uninstall and reinstall again:
I apologize for the long winded post, I thought more info than less would be better
Code:
rhodess@RT-AC3200-4200:/tmp/home/root# ip rule
0: from all lookup local
9990: from all fwmark 0x8000/0x8000 lookup main
9993: from all fwmark 0x4000/0x4000 lookup ovpnc3
10501: from 10.0.1.60 lookup ovpnc3
10502: from 10.0.1.20 lookup ovpnc3
10503: from 10.0.1.50 lookup ovpnc3
10504: from 10.0.1.60 lookup ovpnc3
32766: from all lookup main
32767: from all lookup default
It looks like the iPad IP is not being passed through, how do I add the rule for that, I thought it would get passed when I re-ran script 3.
Code:
rhodess@RT-AC3200-4200:/tmp/home/root# ip rule
0: from all lookup local
9990: from all fwmark 0x8000/0x8000 lookup main
9993: from all fwmark 0x4000/0x4000 lookup ovpnc3
10501: from 10.0.1.60 lookup ovpnc3
10502: from 10.0.1.90 lookup ovpnc3
10503: from 10.0.1.20 lookup ovpnc3
10504: from 10.0.1.50 lookup ovpnc3
10505: from 10.0.1.60 lookup ovpnc3
32766: from all lookup main
32767: from all lookup default
When I go to the VPN Client GUI and add the IP address and restart the tunnel, it gets picked up and works. I thought for x3mRouting options 1 and 3, that I did not have to add an IP address and it took them from the x3mRouting_client_rules? Can you tell me what I'm misunderstanding? Also, why is 10.1.0.60 showing twice in the rules?
Code:
rhodess@RT-AC3200-4200:/tmp/home/root# cat /jffs/scripts/x3mRouting/x3mRouting_client_rules
#########################################################
# Assign the interface for each LAN client by entering #
# the appropriate interface number in the first column #
# 0 = WAN #
# 1 = OVPNC1 #
# 2 = OVPNC2 #
# 3 = OVPNC3 #
# 4 = OVPNC4 #
# 5 = OVPNC5 #
#########################################################
3 10.0.1.20 40TCLRokuTV
3 10.0.1.50 AppleTV-2
3 10.0.1.60 AppleTV
3 10.0.1.90 iPad_sean
I re-ran the x3mRouting_client_nvram.sh script again which made another duplicate entry so I removed two of the rules:
Code:
ip rule del prio 10504
ip rule del prio 10505
Code:
rhodess@RT-AC3200-4200:/tmp/home/root# ip rule
0: from all lookup local
9990: from all fwmark 0x8000/0x8000 lookup main
9993: from all fwmark 0x4000/0x4000 lookup ovpnc3
10501: from 10.0.1.60 lookup ovpnc3
10502: from 10.0.1.90 lookup ovpnc3
10503: from 10.0.1.50 lookup ovpnc3
32766: from all lookup main
32767: from all lookup default
I read through some of the older posts and I think I have both 1 and 3 running, so I think I will uninstall and reinstall again:
Code:
rhodess@RT-AC3200-4200:/tmp/home/root# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 31872 31872 0 100% /
devtmpfs 127576 0 127576 0% /dev
tmpfs 127716 1848 125868 1% /tmp
/dev/mtdblock4 65536 5548 59988 8% /jffs
/dev/mtdblock4 65536 5548 59988 8% /www/Main_LogStatus_Content.asp
/dev/sda1 7687396 2412368 4884524 33% /tmp/mnt/usb_sr
tmpfs 127716 1848 125868 1% /www/index_style.css
tmpfs 127716 1848 125868 1% /www/require/modules/menuTree.js
/dev/mtdblock4 65536 5548 59988 8% /usr/sbin/vpnrouting.sh
/dev/mtdblock4 65536 5548 59988 8% /usr/sbin/updown-client.sh
I apologize for the long winded post, I thought more info than less would be better
Last edited: