Community discussions

MikroTik App
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

PPTP disconnects behind MT (RB532)

Fri Dec 08, 2006 1:36 pm

Hi!

Config:

PC1-10 -> SWITCH -> MT (gateway, dhcp server, PPTP server) 2.9.38

PPTP connections disconnets randomly (1-2 mp or seconds) try with different servers, OPENVPN... nobody can make VPN connection.
interfaces:
LAN - proxy-ARP (192.168.0.254)
Internet - ARP enabled

IP-firewall:

0 chain=input connection-state=established action=accept

1 ;;; Accept related connections
chain=input connection-state=related action=accept

2 ;;; Drop invalid connections
chain=input connection-state=invalid action=drop

3 ;;; UDP
chain=input protocol=udp action=accept

4 ;;; Allow limited pings
chain=input protocol=icmp limit=50/5s,2 action=accept

5 ;;; Drop excess pings
chain=input protocol=icmp action=drop

6 ;;; SSH for secure shell
chain=input protocol=tcp dst-port=22 action=accept

7 ;;; Private
chain=input src-address=192.168.0.0/24 action=accept

8 ;;; PPTP + GRE
chain=input protocol=tcp dst-port=1723 action=accept

9 chain=input protocol=gre action=accept

10 Winbox
chain=input protocol=tcp dst-port=3987 action=accept

11 chain=forward action=accept

12 chain=input action=log log-prefix=""

13 ;;; Drop else
chain=input action=drop

14 ;;; allow established connections
chain=forward connection-state=established action=accept

15 ;;; allow related connections
chain=forward connection-state=related action=accept

16 ;;; drop invalid connections
chain=forward connection-state=invalid action=drop

17 chain=forward action=accept


ip-firewall-NAT
srcnat-masquarading-192.168.0.0/24

An other problem, when a user opens an IE there is no internet...but when he push reload button everything fine? Why?

Or something with my firewall rule...Could somebady shrare his own firewall rule? I read the wiki.mt....and use that rules

thanks,

santajosh
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Sat Dec 09, 2006 12:20 pm

What does PPTP logging show?

Your ICMP rules are rather severe. I would allow things like TTL-exceeded, packet too large etc.

Your Input filters are rather relaxed. Do you really want to allow SSH and Winbox sessions to your router from the outside world? Also, you're accepting any unsolicited UDP packets!
An other problem, when a user opens an IE there is no internet...but when he push reload button everything fine?
Generally, this is a DNS timeout. Check your DNS setup.

Regards

Andrew
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Mon Dec 11, 2006 7:11 am

What does PPTP logging show?

Your ICMP rules are rather severe. I would allow things like TTL-exceeded, packet too large etc.

Your Input filters are rather relaxed. Do you really want to allow SSH and Winbox sessions to your router from the outside world? Also, you're accepting any unsolicited UDP packets!
An other problem, when a user opens an IE there is no internet...but when he push reload button everything fine?
Generally, this is a DNS timeout. Check your DNS setup.

Regards

Andrew

Thanks for the Reply!

Could you give me a not too severe firewall setup?! I search de forums...but can't find any...
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Mon Dec 11, 2006 5:23 pm

I'd generally use the following rules for ICMP:
35   ;;; Allow ICMP Time-exceeded
     chain=input protocol=icmp icmp-options=11:0-255 action=accept 

36   ;;; Allow ICMP source-quench
     chain=input protocol=icmp icmp-options=4:0-255 action=accept 

37   ;;; Allow ICMP Destination unreachable
     chain=input protocol=icmp icmp-options=3:0-255 action=accept 
Regards

Andrew

Who is online

Users browsing this forum: akakua, Bing [Bot], Demidrol, eworm, GoogleOther [Bot], lurker888 and 219 guests