David,

Can you do this on your firewall?  I know with ipcop, I can.

Bob

-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx] On
Behalf Of David Gibbs
Sent: Saturday, December 23, 2006 4:41 PM
To: PC Technical Discussion for iSeries Users
Subject: [PCTECH] Port forwrading help?

Folks:

I'm trying to get a jabber server running on my linux system so that it
will listen on port 5222 (the default) and 80.

Can anyone recommend a way to forward port 80 on a particular IP to port
5222 on the same IP?  I'd also like to have the source IP show up
correctly (i.e., the actual source IP instead of the IP where the
traffic is being forwarded from).

I've tried using portfwd, but it seems to want to listen on all IP's all
the time.

I found a small utility that would listen on a specific IP / port and
forward the traffic to another IP / port ... but the source IP is where
the forwarding is taking place.

I found some references to using iptables to forward traffic ... but I
haven't been able to make it work.  Parms mentioned in the document
aren't valid on my version of iptables.

FWIW: I'm using Fedora Core 4.

Thanks!

david

--
This is the PC Technical Discussion for iSeries Users (PcTech) mailing list
To post a message email: PcTech@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/pctech.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.