Hi, i have one question about a redirect rule with local and external
address, i have the following scenario:
/etc/shorewall/nat
###############################################################################
#EXTERNAL INTERFACE INTERNAL ALL LOCAL
222.222.222.222 eth0 192.168.10.10 yes
yes
/etc/shorewall/rules
DNAT net:IPFW loc:192.168.10.10 tcp 10000 -
222.222.222.222
With this configuration i can ping the ip and acess with my LAN and external
but i need put in browser the 222.222.222.222 (www) IP and redirect to
local 192.168.10.10:10000.
Anyone can help-me how i do this?
I try with this rule
DNAT net:IPFW loc:192.168.10.10 tcp 80
10000 222.222.222.222
tks
-[Employer
Disclaimer]-------------------------------------------------------------------------------
http://www2.employer.com.br/disclaimer.htm
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It''s the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Marcelo Leão Caffaro- Employer wrote:> > Hi, i have one question about a redirect rule with local and external > address, i have the following scenario: > > > /etc/shorewall/nat > ############################################################################### > #EXTERNAL INTERFACE INTERNAL ALL LOCAL > 222.222.222.222 eth0 192.168.10.10 > yes yes > > /etc/shorewall/rules > DNAT net:IPFW loc:192.168.10.10 tcp > 10000 - 222.222.222.222 > > With this configuration i can ping the ip and acess with my LAN and > external but i need put in browser the 222.222.222.222 (www) IP and > redirect to local 192.168.10.10:10000. > > Anyone can help-me how i do this?Please tell us what you are trying to do -- you''ve told us what you tried that doesn''t work but not what you are trying to accomplish. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It''s the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace