[CentOS] How can i share my WAN ip to my LAN?

Mon Jan 28 11:19:26 UTC 2008
Tolun ARDAHANLI <tolun.ardahanli at linux.org.tr>

Thanks for adv...

I have another question....;)

Here is a result of iptables -L command;
********************************************************************************************************************
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
DROP       tcp  --  anywhere             192.168.10.13       tcp dpt:ssh
DROP       tcp  --  anywhere             192.168.10.13       tcp
dpt:ncube-lm

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
********************************************************************************************************************

how can I modify
"ACCEPT     all  --  anywhere             anywhere"
line?

I want to do it like that(of course if it is posible...)
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
"ACCEPT     http/https  --  LAN/eth1             anywhere            "

thanks a lot to everyone...





2008/1/28, John R Pierce <pierce at hogranch.com>:
>
> Tolun ARDAHANLI wrote:
> > I am not a network engineer... I am just a software engineer... I am
> > trying to do our project on Linux systems... I cant focus so deeply on
> > network administration... Only I can do your advise... not else...
> > Cause I can't spent time for that(I want but I can't)..:(
>
>
>
> then, you'll either need to take the time to learn networking and
> firewall routing, or hire someone to setup and administer this for
> you.   or, ideally, get your existing network administrators to satisfy
> your requirements, this may require intervention by upper management.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:tolun.ardahanli at linux.org.tr
Icq:326600

----------------------------------------------------------------------------

Tolun ARDAHANLI
Computer Engineer
E-mail:tolun.ardahanli at linux.org.tr
Icq:326600
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080128/72675404/attachment-0004.html>