Esti demodat, nu mai e ip_forward in topul blestemelor, ci rp_filter. -- True story. On Jan 26, 2012 11:22 AM, "Mircea Ciocan" <[email protected]> wrote:
> E forwardingul activat pe masina aia, like what is in: > cat /proc/sys/net/ipv4/ip_forward > > if is 0 make it 1 > Because you know lunix is secure and shit si daca e lasat asta on it > may have a viru dihareea. > > Mircea "top posting rocks" C> > > On Thu, Jan 26, 2012 at 10:19 AM, Adrian Sevcenco > <[email protected]> wrote: > > so .. take 2 : incerc sa forwardez un port de pe interfata publica la un > > port de la un ip din reteaua privata > > incerc asha : > > iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 11111 -j DNAT > > --to-destination 10.10.10.212:80 > > > > iptables -I FORWARD -p tcp -d 10.10.10.212 --dport 80 -m state --state > > NEW,ESTABLISHED,RELATED -j ACCEPT > > > > [root@sev ~]# cat /proc/sys/net/ipv4/ip_forward > > 1 > > > > [root@sev ~]# iptables -nL | grep 11111 > > ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW > > tcp dpt:11111 > > > > si nu merge ... aveti idee care poate fi problema? > > multumesc!! > > Adrian > > > > > > _______________________________________________ > > RLUG mailing list > > [email protected] > > http://lists.lug.ro/mailman/listinfo/rlug > > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
