[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Please not M$ Exchange



fought with this for the past hour...gave up again.
it's my 3rd attempt..this is on a stand-alone debian box with no gui.

I tried the following:

iptables -t nat -I PREROUTING -d $ETH0IP -p tcp -m tcp --dport 143 -j DNAT --to 10.1.3.5:143 iptables -t nat -I PREROUTING -d $ETH0IP -p tcp -m tcp --dport 80 -j DNAT --to 10.1.3.5:80

didn't work so tried:

iptables -t nat -A PREROUTING -d $ETH0IP -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.1.3.5 iptables -t nat -A PREROUTING -d $ETH0IP -p tcp -m tcp --dport 143 -j DNAT --to-destination 10.1.3.5


am I thinking backwards ? I copied what I have for my e-mail port 25 to be redirected to my email server...and that I know works =)

--Huck

Mr Barry Cisna wrote:
Huck,

To allow users "at home" access to your SM server , just port forward on
your border firewall.
For example your SM servers internal IP address is 1.2.3.4 and you have an
public ip range for your school of 4.3.2.1-4.3.2.10, just port forward
1.2.3.4 ,> 4.3.2.1.
You will need to port forward, both tcp 143 and tcp 80 to the public ip
address.
To test get on a box "outside" of your lan  and do 'telnet publicipaddress
143'   and 'telnet publicipaddress 80'. if you get a response on both of
these port numbers your users can access your SM at home as easy as they
can at school.

Take Care,

Barry Cisna

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]