Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 07:04:15 -0400
From:      Dan Flemming <danflemming@mac.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Dual PPPoE & binding proxy to one interface
Message-ID:  <3980172F.EBC0E0CD@mac.com>
References:  <20000727105659.A90CB37B6AE@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I have a NAT gateway machine with two NICs, running FreeBSD
3.4-RELEASE. ed1 talks to the LAN, and ed2 talks to my DSL using PPPoE
and user ppp.

So far, so good. However.

My DSL modem has the ability to simultaneously process two PPPoE
connections. Also, my university has a PPPoE server set up. So, while
for most everyday use I prefer to go through my ISP's PPPoE server
(it's slightly faster, most days, and its news server has about ten
times as many groups :), for web use I'd rather use my university's
PPPoE server. This is because my university has paid for a number of
commercial services that are web-delivered, and if I use their server,
I get a local IP and can connect to all these services as a paying
subscriber, a good thing.

So it occurred to me that a solution would be to continue running my
ISP connection through NAT and add a second PPPoE connection to my
university, and then run a web proxy on that second connection.

However, I'm having a hard time setting this rather non-simplistic
setup up. I've created a second tun device, that seems to work fine (at
least it shows on ifconfig). I can ping it, and traceroute shows its
location accurately, with an IP address inside my university's domain.
However, I can't telnet to it or ftp to it, which is odd. Although, in
the long term, dealing with security, maybe good.

I've investigated more than a few proxies (adzapper, dante, delegate,
junkbuster, squid, tinyproxy, and wcol) but near as I can tell, the
only one that will bind directly to tun1 is delegate, and I can't
convince its security mechanisms to allow my http requests through.

I only need http or socks4, btw. Socks5 support would be sort-of nice,
but not really important.

Also, I haven't figured out how to set up rc.conf to start two ppp
tasks.

Any suggestions?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3980172F.EBC0E0CD>