Paste the output from iptables -t mangle -vnL FORWARD _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
The rules are there, be sure to do it through telnet while testing. There's also a slight change needed to the rules.
iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE
iptables -t mangle -A FORWARD -j ROUTE --oif eth1 --continue
iptables -t mangle -I FORWARD -d hulu.com -j ROUTE --oif tun0 _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
The rules are still missing. What build are you using? (please don't say you've ignored my sig this entire time) _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I just updated to this version now, and it looks like it corrected alot of the issues with the iptables not showing up properly.
However, that being said, it is still not working.
If i use the command
Code:
iptables -A POSTROUTING -t nat -o tun0 -j MASQUERADE
I am able to get outbound, none ofthe previously suggested commands seem to work for any traffic. They all go through the VPN and do not display in my browser (ie, if I traceroute to say google while telnet'd in to the router, it shows it going through witopia).
Try this to stop the vpn traffic. There's going to be further trouble later on because hulu has distributed content servers and every nslookup for hulu.com returns a different address...
iptables -t mangle -A POSTROUTING -j ROUTE --oif eth1 --continue _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
you should use routing based on source ip for what you trying achieve because when Apple finds some part of traffic goes thru US IP other part thru Canadian they will likely notify your financial institution and problems will start. Google for ip rule from ip ... sth like that
Other thing is your VPN provider Witopia is not good for the objective either because they set reverse dns with their name. So even if you set source based routing Apple or whatever other picky party very likely will notify xyz to check on you. AFAIK Witopia anonymizes all traffic and will not give your identity without court order. Of course this very fine for some other applications but not if you purchase movies from Apple trust me.
Yeah, I learned of some problems with the route target and masquerading so this probably isn't a good way to go about it. Somewhere in your vpn configuration you set the vpn as your gateway, you ought to start by undoing that. After that you can try the rule to route for hulu through the tunnel but since their dns is wacky you'll have to track down all their ip's. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I would *love* to get this working, either via the IP / server that is being accessed, or by the local machine that's making the request.
I've got Witopia working just great on the router for all traffic, but have no idea where to start to get this working just for a select # of servers or for a specific machine on my network.