Re: Forward ssh to an internal server not working

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

 



On Thursday 2010-12-02 04:27, Landy Landy wrote:

>
>--- On Wed, 12/1/10, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
>>>
>>>Can someone please tell me why I cannot access a
>>>machine inside my LAN from outside? These are my rules to
>>>try to accomplish that task:
>> >
>> >$iptables -t nat -A PREROUTING -i $EXT_IFACE -p tcp \
>> >Â Â Â Â -s $UNIVERSE --sport
>> $UNPRIVPORTS -d $EXT_IP --dport 22 \
>> >Â Â Â Â -j DNAT --to-destination
>> 172.16.0.200:22

These may not be all rules. Post complete rulesets as output by 
`iptables-save` and also `ip addr` and `ip route show table all`.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux