# Define forwards

# In order for this file to function, you MUST
# HAVE ENABLED forwarding specifically in gShield.conf
# ---> FORWARDING="YES"

# The basic format of this file is simple:
# allowfrom		proto srcip:port        dstip:port

# A quick example:
# 203.12.234.232 tcp   203.55.250.12:80  192.168.1.12:80

# The above forwards tcp connections coming from 203.12.234.232
# destined for 203.55.250.12 (port 80) and forwards them to
# 192.168.1.12 (port 80)
 
# Of course perhaps you want to forward all connections
# from anywhere -- simply use "0/0" like so:

# 0/0                 tcp   203.55.250.12:80  192.168.1.12:80

# "0/0" == any

# But wait, what if I want -both- tcp AND udp to be forwarded??

# 0/0                 both   0/0:80  192.168.1.12:80

# Thanks to C. Gielen's patch, you can also forward port-ranges here
# as well:

# 0/0 both 1.2.3.4:2300-2400 192.168.1.2:0

# ^^
# forwards all connections to ports 2300 through 2400 connecting to 1.2.3.4 
# to 192.168.1.2 :

# ACCEPT     udp  --  anywhere             192.168.1.2        udp dpts:2300:2400
# ACCEPT     tcp  --  anywhere             192.168.1.2        tcp dpts:2300:2400
