Hi Steven, > What is the best way to open "ssh" and "ftp" on the WAN port on a port > > 1024? > > I tried with a > TCP+UDP, Source Port : 20021, ip: 192.168.10.1, target port : 21 > TCP+UDP, Source Port : 20022, ip: 192.168.10.1, target port : 22 Port forwarding like this doesn't work (IIRC because a forwarding rule cannot move a packet from the "FORWARD" chain into the "INPUT" chain IIRC).
There is a ticket about this, which is still open: http://trac.fonosfera.org/fon-ng/ticket/1167 To do this right now, you'll have to actually start the programs with different parameters. For SSH, this means changing /etc/fonstated/RestartSSH and for FTP /etc/config/pureftpd. For both you'll also need to update the port number for the firewall in /etc/config/services. Regards, Matthijs Kooijman _______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
