We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

how to activate iptables modules

Medium Priority
1,380 Views
Last Modified: 2013-11-16
whats the command to activate the iptables (netfilter) modules ip_conntraAk_pptp and ip_nat_pptp
Comment
Watch Question

Author

Commented:
im using CentOS and iptables

Author

Commented:
what  i am trying to do is pass vpn traffic throught linux firewall
Top Expert 2009

Commented:
check
lsmod | grep conntrack

see if this return anything

otherwise :

 to enable ip_nat_pptp

modprobe ip_nat_pptp

and  to enable  ip_conntraAk_pptp

modprobe ip_conntrack_pptp

Author

Commented:
there is nothin return
Top Expert 2009

Commented:
so you saying :

lsmod | grep conntrack
 lsmod | grep conntrack

does not return anything ??

also

have you tryed this

modprobe ip_nat_pptp
modprobe ip_conntrack_pptp

after executing this then again try lsmod command.

also

past the output of
locate ip_nat_pptp  
locate ip_conntrack_pptp



Author

Commented:
login as: root
root@192.168.10.10's password:
Last login: Thu Jan 22 12:49:30 2009 from 192.168.100.250
[root@gateway ~]# modprobe ip_nat_pptp

[root@gateway ~]# modprobe ip_conntrack_pptp
[root@gateway ~]# locate ip_nat_pptp
/lib/modules/2.6.18-93.cc4/kernel/net/ipv4/netfilter/ip_nat_pptp.ko
[root@gateway ~]# locate ip_conntrack_pptp
/lib/modules/2.6.18-93.cc4/kernel/net/ipv4/netfilter/ip_conntrack_pptp.ko
[root@gateway ~]#

Author

Commented:

[root@gateway ~]# lsmod | grep conntrack
ip_conntrack_mms       75440  1 ip_nat_mms
ip_conntrack_pptp      15760  1 ip_nat_pptp
ip_conntrack_irc       10864  1 ip_nat_irc
ip_conntrack_ftp       12016  1 ip_nat_ftp
ip_conntrack           53984  13 xt_CONNMARK,xt_state,ip_nat_pptp,ip_nat_mms,ip_conntrack_mms,ip_nat_irc,ip_nat_ftp,ipt_MASQUERADE,ip_conntrack_pptp,ip_conntrack_irc,ip_conntrack_ftp,iptable_nat,ip_nat
nfnetlink              10904  2 ip_nat,ip_conntrack
[root@gateway ~]#

still vpn connection doesnt work
Top Expert 2009
Commented:
Ok so both your ip_conntraAk_pptp and ip_nat_pptp

are enabled .

its something else is causing the problem

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
clients are connected to cisco 3750 switch, will it be a problem?
Top Expert 2009

Commented:
omm i never worked with Cisco 3750

Since its define that your  2 modules are are workign and activate, then you should open another question in linux networking and router section on this isse.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.