LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Netmeeting and iptables (https://www.linuxquestions.org/questions/linux-security-4/netmeeting-and-iptables-432519/)

Berkeley 04-06-2006 08:34 PM

Netmeeting and iptables
 
hi all,

I want to make Netmeeting outsite windows xp to Behind Fedora Core 3's client windows xp.How to configure FC iptables.Port forwarding?
please guide me.

thanks
B

win32sux 04-07-2006 07:31 AM

what ports/protocols do you need to forward??

Berkeley 04-08-2006 02:32 AM

1720
 
I want to forward port 1720 to local ( behind Fedora Core 3 ) windows xp.


B

win32sux 04-08-2006 07:25 AM

Quote:

Originally Posted by Berkeley
I want to forward port 1720 to local ( behind Fedora Core 3 ) windows xp.

Code:

iptables -P FORWARD DROP

iptables -A -t nat PREROUTING -p TCP --dport 1720 \
-j DNAT --to-destination $CLIENT_IP

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A FORWARD -p TCP -i $WAN_IFACE -o $LAN_IFACE -d $CLIENT_IP \
--dport 1720 -m state --state NEW -j ACCEPT



All times are GMT -5. The time now is 07:55 PM.