Internet connection sharing with FreeBSD

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Fri Dec 19 10:17:28 PST 2003


Stan Wright wrote:

> What is the best way to share an internet connection between two 
> FreeBSD machines ?  The network [192.168.0.x] is already set up. I can 
> ssh etc. from one machine to the other.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
Using ppp for Inet connection, or a NIC/broadband?

I use "ppp -nat" for my modem connection.  For broadband,
use "natd_enable=YES" and "natd_interface=rl0" (or whatever
if you have...)

IIRC, you must have some kernel options to do the latter,
or perhaps a KLD.

Check the handbook section on "Network Address Translation"
in chapter 19.....

HTH,

KDK



More information about the freebsd-questions mailing list