Talk:Setup the FSG behind a Router
USB Printer over the WAN
Can somebody with a USB printer do some testing to see if a printer will work when the FSG is connect to a router via it's WAN port. We need to find out if it will work for the users connected to the Routers LAN. Dbeardsl 02:19, 15 May 2006 (CEST)
From my own experience, a USB printer connected to the FSG and configured manually or via the FSG Assistant can only be used from PCs connected directly to the FSG - not from PCs connected to a router, itself connected to the FSG via the latter's WAN port. --Milesm 23:29, 15 May 2006 (CEST)
- I've added a link to an article on FSG Issues I'll look into solving it --Dbeardsl 00:13, 16 May 2006 (CEST)
I suppose that it is only a problem of firewall setting (iptables) or to which device the deamon is binded. --Jo-master 00:49, 16 February 2010 (CET)
Ports for CIFS-Samba
in /etc/init.d / are all startup scripts of the different services that are configured using the web administration tool.
In the case of the samba, for example, the file is called /etc/init.d/samba. If edit it, you can see what it does is to look in the configuration file /etc/master.conf if it is configured to open the samba abroad, in which case, run this lines:
/sbin/iptables -D INPUT -i $EXIF -m state --state NEW,ESTABLISHED,RELATED -p udp --dport 135 -j ACCEPT
/sbin/iptables -D INPUT -i $EXIF -m state --state NEW,ESTABLISHED,RELATED -p udp --dport 137:138 -j ACCEPT
/sbin/iptables -D INPUT -i $EXIF -m state --state NEW,ESTABLISHED,RELATED -p tcp --dport 139 -j ACCEPT
/sbin/iptables -D INPUT -i $EXIF -m state --state NEW,ESTABLISHED,RELATED -p tcp --dport 445 -j ACCEPT
As you can see, in addition to TCP 139 and 445 also opens the 135, 137 and 138 UDP. --Juansa 18:26, 15 January 2010 (CET)
Accessing Print Servers over the WAN link
As an FYI I configured the FSG as router without DHCP, and connected the WAN port to my main wireless/DSL router... a PC connected to the FSG failed even with a static IP address from the main wireless/DSL subnet. Using the DHCP on the FSG seemed to make it work all OK... Note that I gave up accessing the print server connected directly the FSG from devices connected on the main router ie via the WAN port. Presumably doing this requires some update to a route table on the router so devices know to go via the FSG... Isvana 22:48, 12 February 2010 (CET)
- Hi Isvana, maybe your problem is resolved here:USB Printer through the WAN--Juansa 17:45, 15 February 2010 (CET)