The setup: I have a Linux (Gentoo, if that makes a difference) box that serves as a gateway for the whole apartment. This box does its NAT-magic with iptables and dhcpd.
The problem: I have a certain computer that I want to have a port forwarded to (for torrents, if, again, there's a difference).
I have just enough Linux administration skills to read howtos and get stuff configured properly (eventually), but the howtos I found for my case were too unclear and seemed to be unnecessarily complex.
For what I've gathered, my problem is twofold: getting the dhcpd reliably assign a certain static IP to the computer I want, and then getting iptables configured for the port forwarding.
Could someone give me a definite, step-by-step guide in how to do this? I'm sure I'm not the only one wanting to do this...
Edit: My versions of the software are:
# iptables --version iptables v1.4.0 # dhcpd --version isc-dhcpd-V3.1.1-Gentoo