-2

I have computer (ubuntu server). Server have internet and share internet for local network. There is one computer in local network have FTP. How to get access to local FTP from internet?

1 Answers1

0

A good Site to take a look: Linux Firewalls using iptables

iptables -A PREROUTING -p tcp -i ppp0 --dport 21 -j DNAT --to 192.168.1.1:21

ppp0 = Interface WWW

192.168.1.1 = The Server which provides FTP in your Lan

donald123
  • 5,638
  • 3
  • 26
  • 23