The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Can I turn my freebsd box into a regular router
Author: Johnny2Bad 
Date:   24-08-08 06:11

Hi,
My ISP generously allows me 5 DHCP assigned addresses, I would like to use 4 of these addresses as clients for my freebsd machine.

The freebsd box grabs one address through DHCP. I would like clinets of this machine to send from client public addresses onto the network.

So when x.w.y.z transmits allong the network segment I would like the freebsd to retransmit the data using the address x.y.w.z. And same in reverse.

Is this possible?

Thanking you in advance,
Jonathan.



Reply To This Message
 
 Re: Can I turn my freebsd box into a regular router
Author: Dan 
Date:   24-08-08 12:31

You are using terminology which I've not heard of before. That does not mean it is not correct.

I think what you mean is:

You want to use one server as a gateway. It will have one of the IP addresses from your ISP.

By clients, you mean machines behind the gateway.

Yes, FreeBSD can act as a router like this.

The question is: Why?

What types of services will you be supplying from these machines that require such a setup?

--
Webmaster

Reply To This Message
 
 Re: Can I turn my freebsd box into a regular router
Author: Johnny2Bad 
Date:   24-08-08 14:28

Why I want the machines to have public addresses behind the gateway is so I can use server type applications without using NAT.

The main reason I would like public addresses for my machines behind the gateway is development of server type programs under windows.

I hope that has cleared things up, sorry for any misunderstanding, I am pretty much a newbie at freebsd.

Cheers,
Jonathan.



Reply To This Message
 
 Re: Can I turn my freebsd box into a regular router
Author: Dan 
Date:   24-08-08 14:47

I think I'd try using the packet filter pf. Just don't do NAT.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org