Port change with iptables?
In our University-net is the SMTP-Port closed for conexions from outside.
In our institut we used a firewall for security:
2 Nics in promiscuous mode
transparent (without IP)
with portforwardings for webserver, mailserver, etc.
We dont use NAT, because our IP are external IPs.
rules are like:
iptables -A FORWARD -d 184.108.40.206 -p TCP --dport 80 -j ACCEPT
iptables -A FORWARD -d 220.127.116.11 -p TCP --dport 110 -j ACCEPT
I want the firewall to accept conexions in port 10025 (for example) and forward to port 25, so that we can configure our mail-client (at home) on another port.
is it posible?