yatsek@gmail.com wrote:
> Hi there.
> I need to configure xinetd so it redirects traffic outgoing to
> specific IP:port1a to localhost:port1b
> I've heard about iptables to do this but I'm using cygwin and only
> xinetd seems to be good solution.
Uh? In the same breath you mention cygwin (implies not *nix OS) and iptables
(implies linux).
xinetd is a super-server, it will not help you here as it only handles
incoming traffic.
I think you should give us a detailed description of the OS that you want to
do this on.
> I've read manuals but they seem to be little bit complex for me. All I
> want is to do sth like:
>
> IP1:port1a ---redirect---> localhost:port1b
> IP1:port2a ---redirect---> localhost:port2b
> IP1:port3a ---redirect---> localhost:port3b
>
> i.e create something like "virtual" IPs - similar like /etc/hosts file
> does - only not for hostnames but for IP:port keys.
>
> Somebody please give a tip?
>
> --
> Regards
> Yatsek