Hans Maaherra wrote:
> I own a domain name, and now it is assigned to my m0n0wall's ip.
> Is there a way to get for example
> www.domain.com(:80) forwarded to 192.168.0.2:80
> john.domain.com(:80) forwarded to 192.168.0.3:80
> ftp.domain.com:21 forwarded to 192.168.0.4:21
> ftp2.domain.com:21 forwarded to 192.168.0.5:21
> and so on?
Only if you have more than one IP for the WAN on your m0n0wall.
First thing is to add the additional IPs to the WAN interface. This can
be accomplished using Server NAT.
Next, you can set Inbound NATs for the additional IP. Each of the
external IPs can be NATed to different internal hosts. You can use a
single external IP to different internal IPs for different services (www
and ftp to public IP 1 goes to different internal IPs .2 and .3)
Finally you will need to make changes in your DNS for your Domain. You
can assign public IP 1 to www.domain.com, public IP 2 to
James W. McKeand