Re: F17: How to set up VPN for Android?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use ssh tunnels to forward Android imap (port 143), smtp (port 25),
and http proxying (port 3128) to my Fedora server, using this app:

What do you use as a proxy on the Fedora server? glype? squid?

On the android you configure a proxy for each browser? Or does SPT just
send all port 80 requests to the server?

Any details on the config would be very helpful.

Install the SPT app & forward local ports 1043, 1125, and 3128 to remote 143 (imap), 25 (smtp), 3128 (squid proxy).

In my case, SPT Forwards = "L1043=192.168.0.2:143,L1125=192.168.0.2:25,L3128=192.168.0.2:3128"

Here, 192.168.0.2 is the internal address of my server (not its external IP).

The forwarded local ports need to be > 1024, IIRC.

You point the email client at localhost for the SMTP/IMAP, using the special local forwarding ports 1043 and 1125.

For web use, I use Firefox, and in about:config set:

network.proxy.type = 2
network.proxy.autoconfig_url = http://www.avtechpulse.com/proxy/avtech.pac

That *.pac file says:

function FindProxyForURL(url, host) {
	if (shExpMatch(host, "*.domain.avtechpulse.com"))
		{
		return "PROXY 127.0.0.1:3128";
		}

 	return "DIRECT";
}

That means squid serves the private intranet pages from the private squid server, and firefox accesses all other pages in the normal manner (not through squid).

Firefox is the only browser that handles this proxy trickery well.

Sounds complicated, but works like a charm.


- Mike
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux