Hi David -

At 09:30 12/26/2006, David Gibbs wrote:
Ken Sims wrote:
> To do a port forward to the same system, use -j REDIRECT rather than -j
> DNAT, e.g. -j REDIRECT --to-ports 5222

Tried that ... but it doesn't seem to have any effect.

Are there any other rules I need to make the REDIRECT target work?

You're going to need INPUT and OUTPUT rules with -j ACCEPT to allow port 5222 as a destination port and source port respectively.

If you're still having problems, I recommend adding logging rules temporarily.

Ken


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.