IP Masqurading

IP Masqurading

Post by Jeff Tomic » Tue, 18 Nov 1997 04:00:00



Thinking of using FreeBSD to provide IP masqurading within my home
network. Can FreeBSD be setup and used as a Proxy Server and If so, are
there any FAQ's to how to do it? I'm running FreeBSD version 2.2.5...

Thanks, Jeff

 
 
 

IP Masqurading

Post by Brian Some » Wed, 19 Nov 1997 04:00:00




: Thinking of using FreeBSD to provide IP masqurading within my home
: network. Can FreeBSD be setup and used as a Proxy Server and If so, are
: there any FAQ's to how to do it? I'm running FreeBSD version 2.2.5...

Check out http://www.Awfulhak.org/ppp.html.

: Thanks, Jeff

--

      <http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour !

 
 
 

IP Masqurading

Post by Eugeny Kuzako » Wed, 19 Nov 1997 04:00:00



> Thinking of using FreeBSD to provide IP masqurading within my home
> network. Can FreeBSD be setup and used as a Proxy Server and If so, are
> there any FAQ's to how to do it? I'm running FreeBSD version 2.2.5...

There are two ways:
1. natd ( look it in ports )
2. ipfilter - complete box with fine firewall,ipnat ( All that you need
) and redirector.

--
        Best wishes, Eugeny Kuzakov
                Laboratory 321 ( Omsk, Russia )

 
 
 

IP Masqurading

Post by Joshua Pincu » Thu, 20 Nov 1997 04:00:00



> Thinking of using FreeBSD to provide IP masqurading within my home
> network. Can FreeBSD be setup and used as a Proxy Server and If so, are
> there any FAQ's to how to do it? I'm running FreeBSD version 2.2.5...
> Thanks, Jeff


I would refer to the www.awfulhak.org pages.  I used them to set up my
connection to ibm.net (!) yesterday.  Using the ppp.conf examples that
Mr. Somers has on-line, I got my connection to the global ISP network up and
running on the first try!  

I am using my PPP client to perform IP masquerading/aliasing.  It works
rather well.  If you don't like IIJ-PPP's support for aliasing, you could
always use natd to do the job.  In order to use natd, however, your kernel
needs to be compiled with firewall and divert sockets support.  

Check out the ppp man page on your system for lots of info.

JP
--
Joshua Pincus
UNIX Programmer
University of Rochester Computing Center
Rochester, New York 14627

 
 
 

IP Masqurading

Post by Brian Some » Fri, 21 Nov 1997 04:00:00




: I am using my PPP client to perform IP masquerading/aliasing.  It works
: rather well.  If you don't like IIJ-PPP's support for aliasing, you could
: always use natd to do the job.  In order to use natd, however, your kernel
: needs to be compiled with firewall and divert sockets support.  

Well, natd & ppp use exactly the same code, and have the same
options :-)  So it shouldn't be possible to ``prefer'' natd.

Check out the "alias" command description - the different subcommands
are remarkably like the options to natd ;-)

: JP

--

      <http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour !

 
 
 

IP Masqurading

Post by J Wuns » Mon, 24 Nov 1997 04:00:00



> There are two ways:
> 1. natd ( look it in ports )
> 2. ipfilter - complete box with fine firewall,ipnat ( All that you need
> ) and redirector.

The third way, if your only desire is to proxy WWW and email: use
squid for the WWW proxy, and sendmail for the mail proxy.  No actual
address translation required.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

1. IP Masqurading between local 192.x.x.x networks ???

I have a route/firewall to get to the internet via ppp from my in-home
192.168.1.x LAN. No problems.
As an experiment I added a second ethernet card as eth1 192.168.2.x
network and immeadiatly had problems. The machines on the two networks
could not ping each other and the new .2.x machines could not get the
internet. Hmmmm.
 A quick think said "Heh, need an ipfwadm rule on the router to get them
to the internet. So I add the rule:
ipfwadm -F -a m -S 192.168.2.0/24 -D 0.0.0.0/0
and lo an behold the .2.x network machines could now access the
internet. Plus, the two ethernets can now talk to each other.

Huh, why did I need the ip masqurading rule to get them to talk to each
other?
How can you set it up so ipmasquarading ONLY applies to connections
going out through the ppp/internet, NOT effecting the routing of packets
between local ethernet LANs?

--
Jeff Pierce

http://pages.preferred.com/~piercej

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

2. Openwin screen screwed sometimes

3. Diablo/Battle.net via Linux and IP masqurade WORKS, here's how

4. Linux and Novell

5. IP-Masqurade!!

6. parameter list too long error

7. Q: How does ip-masqurading actually work?

8. Thinkjet: has anyone used it with ghostscript?

9. IP Masqurade site down... Help...

10. Problemes with IP Masqurade

11. IP Masqurading problem

12. IP masqurading and DSL

13. PPP server + IP Masqurading