I need to redirect several ports to port 25 for Postfix. I would prefer to do it in some simple and manageable way. Something like this:
[cmd=]ipfw add fwd me,25 tcp from any to me 1025 in[/cmd]
Apparently, this requires IPFIREWALL_FORWARD in kernel options. I don't think my kernel has this option enabled, and I don't think I can change that (it's VPS).
So, my questions are:
1) How can I check for sure whether the kernel has IPFIREWALL_FORWARD compiled?
2) Can this be replaced by loading some module?
3) Are there any other simple ways to do port forwarding, i.e. without kernel recompilation? Preferably something that doesn't require the use of another firewall, since I'm already quite used to IPFW.
[cmd=]ipfw add fwd me,25 tcp from any to me 1025 in[/cmd]
Apparently, this requires IPFIREWALL_FORWARD in kernel options. I don't think my kernel has this option enabled, and I don't think I can change that (it's VPS).
So, my questions are:
1) How can I check for sure whether the kernel has IPFIREWALL_FORWARD compiled?
2) Can this be replaced by loading some module?
3) Are there any other simple ways to do port forwarding, i.e. without kernel recompilation? Preferably something that doesn't require the use of another firewall, since I'm already quite used to IPFW.