NAT with OpenVpn instead of using Squid, Client Setup?
If I set up iptables to NAT my Vpn traffic throug the linode, how do i manage to point my browser to send traffic through the vpn? - I know, I could use "redirect-gateway" in Openvpn, but that would redirect all my traffic and I only want traffic from i.e. Firefox to be nat-ed. I imagine setting up a local proxy (Windows-machine) would be a possibility, but I have no concrete idea?
Could someone point me to to some tutorial or else about that?
Thanks!
13 Replies
A simple proxy server will do your needs.
I would use the socks proxy with firefox configured to use socks to proxy the dns, too.
–
Travis
If you'd like a trivial-to-set-up VPN solution, the OpenVPN guys make "OpenVPN Access Server". It's semi-commercial, but does come with 2 free simultaneous logins (extra logins cost $5 each, one-time fee). Deploying it is pretty simple (no configuration on your end), so you basically just need to install it and create some user accounts and you're golden. I'd recommend switching from the default TCP+UDP mode to UDP-only, though.
@cattani:
@chesty: ssh-socks is a good idea. which proxy servers do you mean, i only know squid, thx!
If you use ssh socks proxy, you don't need any other proxy. You don't really need the vpn, but either way works. On windows putty is the go for ssh socks proxy, if you google putty socks proxy you should get tutorials.
gtz
(That said, a hotel I stayed at in California only rate-limited TCP traffic on the "free 512 kb/sec wireless." OpenVPN uses UDP by default. Pretty sure the hotel had a T1, and I'm pretty sure I was saturating it accidentally.)
I have an update: this worked amazingly fast until my ISP changed something, now I got max 8mbit/sec and tons of udp-packet replays. Tunnel over tcp works slightly more steadily, but is overall slower. i cant figure out any fix, seems my isp is shuffling udp packets. Do you have any ideas what I could try?
thx