USB Printer through the WAN

From OpenFSG
Jump to: navigation, search

Normally USB Printers attached to the FSG are not accessible through the WAN port. If you follow these instructions, you should be printing in no time.

Preparation

Procedure

(Thins invokes the texteditor VI. It helps checking basic vi commands, especially if you are a Windows user.)

#! /bin/sh 
/sbin/iptables -I INPUT 1 -i eth1 -p tcp --dport 9100 -j ACCEPT 
/sbin/iptables -I INPUT 2 -i eth1 -p tcp --dport 9101 -j ACCEPT 


Some steps that you can follow/verify when your printer is not working:

step1: DELETE ALL PRINTER YOU'VE INSTALLED ON YOUR WINDOWS ATTACHED TO FSG

step 2: go to ADD PRINTER

step 3: select LOCAL PRINTER with UNCHECKED AUTOMATICALLY DETECT

step 4: CREATE NEW PORT-STANDARD TCP/IP

step 5: PRINTER NAME or IP: IP of FSG (If your PC's are on LAN FSG, it should be the IP you have defined on CONNECTION - LAN webIF, if they are connected on LAN of your main ROUTER, the IP you should put is the WAN IP FSG - CONNECTION-WAN

step 6: Port NAME: Name of your printer

Then follow all the steps, and install the drivers of your printer when the installation ask for that.

At end, go to PRINTERS, and SEE THE PROPERTIES of THE PRINTER INSTALLED Go to PORTS and click on PORT SELECTED and click on CONFIGURE PORT and verify if the IP is correct and if the port number (9100 or 9101) is correct, confirming with the info you can see on FSG webIF - INFORMATION-DEVICE

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox