Tibbs, Richard wrote:
My question is this:

Are there other "legal" forms of the INTERN_<blah>_SERVER statements that accomplish port forwarding? I am thinking I need a statement like:

INTERN_DNS_SERVER <internal IP of WIN2003 box> to obtain appropriate port forwarding for tcp/udp port 53.

No...you need to use the INTERN_SERVERS variable, along with opening the appropriate ports.


I have tried using the generic form of port forwarding via lrcfg of network.conf, e.g.
>
INTERN_SERVERS "quoted list of stuff" in conjunction with the above mentioned statements, but it doesn't seem to work -- even with the stock EXTERN_IP variable in place.

My basic config is

CONFIGDNS=YES eth0_IPADDR = <static ip> eth0_MASKLEN=26 EXTERN_DHCP=NO EXTERN_TCP_PORT0 "0/0 www" EXTERN_TCP_PORT0 "0/0 smtp" EXTERN_TCP_PORT0 "0/0 imap"

This is an indexed list...you need to increment the index, like so:


EXTERN_TCP_PORT0 "0/0 www"
EXTERN_TCP_PORT1 "0/0 smtp"
EXTERN_TCP_PORT2 "0/0 imap"

INTERNAL_WWW_SERVER=192.168.x.y INTERNAL_SMTP_SERVER=192.168.x.y
INTERNAL_IMAP_SERVER=192.168.x.y


and according to weblet I have port forwarding active for all three services.

In addition to the above, to port-forward DNS, you'll also need the following:


EXTERN_UDP_PORT0 "0/0 domain"
EXTERN_UDP_PORT3 "0/0 domain"

INTERN_SERVERS="tcp_${EXTERN_IP}_domain_192.168.x.y_domain udp_${EXTERN_IP}_domain_192.168.x.y_domain"

Replacing 192.168.x.y with your actual internal IP, of course.

--
Charles Steinkuehler
[EMAIL PROTECTED]




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to