LinuxReviws.org --get your your Linux knowledge
> Linux Reviews > Tips and Tricks >

Oidentd working on your LAN

How to get oidentd working behind a firewall

A common problem with IPv4 is that most Internet service providers only give out you IP address and a firewall that is used to connect computers on your local area network. This causes problems when computers on your LAN needs to reply to outside connections. You can use oidentd to make your LAN boxes respond correctly to identity request.

Requirements: Port 113 must be forwarded to a computer where you can run oidentd. This box is called your server.

Use this oidentd (/etc/conf.d/oidentd) configuration on the server:

  USER="nobody"
  GROUP="nobody"
  OPTIONS="-f -m"

The clients on your LAN must also be running oidentd using a configuration like this:

  USER="nobody"
  GROUP="nobody"
  OPTIONS="-q --proxy=192.168.0.1"

Replace 192.168.0.1 with the local IP of the machine you use as oidentd server.

Using nobody as a user and group is just a suggestion, just make sure you do not run it as root.

Gentoo users can start oidentd with /etc/init.d/oidentd start, run rc-update add oidentd default to make it start at boot.

Meet new people