is this possible?

These are old archives. They are kept for historic purposes only.
Post Reply
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

is this possible?

Post by Mr_S »

think its possible to make the binding ip (ie: where my ip would be), an ip of a different place / machine or even a website????
roothorick
Posts: 12
Joined: Wed Jun 30, 2004 2:37 pm

Post by roothorick »

Not directly. There is a thing called NAT (Network Address Translation) that can probably do what you want, but that's not directly related to UnrealIRCd. Google is your friend :)
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

If your machine does not have access to the IP, it will not let you bind to it. A NAT would let you *use* other IPs, but it would not let you bind to them.
-- codemastr
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Yes. NAT is a whole 'nother beast.

As an example: my home network, where the cable modem host computer is one machine, and the computer running the IRCd is a different one.

The public address of the host computer is 24-*.cpe.cableone.net (24.*). We use Internet Connection Sharing to allow 3 others (including the IRCd host) to connect to the internet. Thus, the host also has a LAN-internal IP of 192.168.0.1. The IRCd host is 192.168.0.3 and NAT is configured to forward 6667 and 6601 to that machine (which is the very machine I'm writing this post from: mine). (It also forwards some DCC ports, but that's another story.)

Thus, to listen for outside connections, the IRCd binds to the machine's most public address of 192.168.0.3. The NAT machine has already bound 6667/6601 on the internet-public IP (24.117.98.156) and is configured to forward requests to the appropriate internal address.

So to bind to a NAT'd IP, you would actually bind to the IP it forwards to, which is usually 192.168.*.
Post Reply