Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Neorouter - nrtap Link beat lost
PostPosted: Wed Mar 16, 2016 11:25 pm 
Offline

Joined: Wed Mar 16, 2016 5:26 pm
Posts: 2
Hi,

Love Neorouter software, makes my work easier.

My setup is as follows:

NeoServer: Raspberry Pi 2
Clients : Windows and Raspberry PIs (1 and 2)

Typically at a remote site I have a Raspberry Pi running Neorouter Client which is connected via WIFI to a 3/4g Modem. It is also connected LAN on the copper port.

The Raspberry Pi Neorouter Client have the following port forwarding rules.

Code:
iptables -I FORWARD -d 10.200.13.6 -m comment --comment "Accept to forward rdp traffic" -m tcp -p tcp --dport 3389 -j ACCEPT
iptables -I FORWARD -m comment --comment "accept to forward rdp returned traffic" -s 10.200.13.6 -m tcp -p tcp --sport 3389 -j ACCEPT
iptables -t nat -I PREROUTING -m tcp -p tcp --dport 3389 -m comment --comment "redirect pkts to HMI" -j DNAT --to-destination 10.200.13.6:3389
iptables -t nat -I POSTROUTING -m comment --comment "NAT the src IP" -d 10.200.13.6 -o eth0 -j MASQUERADE

The above rules are used to forward Remote Desktop traffic to the Windows 2008 server on the LAN.

I can connect to the Windows Server using remote desktop, however it keeps dropping the connection. Especially when coping files to/from the Remote Windows 2008 Server.

I get the following error in the Client's syslog:

Mar 17 04:04:34 raspberrypi ifplugd(nrtap)[2542]: Link beat lost.
Mar 17 04:04:34 raspberrypi ifplugd(nrtap)[2542]: Exiting.
Mar 17 04:04:35 raspberrypi ntpd[2158]: Deleting interface #4 nrtap, 10.1.1.14#123, interface stats: received=0, sent=0, dropped=0, active_time=1455 secs
Mar 17 04:04:35 raspberrypi ntpd[2158]: peers refreshed
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: ifplugd 0.28 initializing.
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: Using interface nrtap/EA:EA:08:94:43:A7 with driver <tun> (version: 1.6)
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: Using detection mode: SIOCETHTOOL
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: Initialization complete, link beat detected.
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: Executing '/etc/ifplugd/ifplugd.action nrtap up'.
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: client: Ignoring unknown interface nrtap=nrtap.
Mar 17 04:04:45 raspberrypi ifplugd(nrtap)[2863]: Program executed successfully.
Mar 17 04:04:46 raspberrypi ntpd[2158]: Listen normally on 5 nrtap 10.1.1.14 UDP 123
Mar 17 04:04:46 raspberrypi ntpd[2158]: peers refreshed

Any help regarding this issue would be greatly appreciated

Thanks


Top
 Profile  
 
 Post subject: Re: Neorouter - nrtap Link beat lost
PostPosted: Thu Mar 17, 2016 2:50 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1869
Hi piman,

Would you stop the firewall on the Rpi and test it? Also make sure that NR DHCP IP range doesn't overlap with the physical network. Seem like NR is 10.0.0.0/255.255.255.0 and physical is 10.200.x.x/?.?.?.? . Please make sure they are not conflicted each other.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: Neorouter - nrtap Link beat lost
PostPosted: Thu Mar 17, 2016 8:31 pm 
Offline

Joined: Wed Mar 16, 2016 5:26 pm
Posts: 2
Hi KevinZ,

Thanks for the prompt reply. Much appropriated.

The NR DHCP range is 10.1.1.0/24 and the LAN is 10.200.10.0/24 so this shouldn't be a problem.

I've disabled the firewall in the Rpi (Client) by flushing the iptables and rebooting the device. I then copied files to the Rpi (Client) using SFTP, but it still keeps dropping the link.

I've monitored the router (DD-WRT) to which the NeoServer is connected to. When the link is dropped, I get dropped messages in the router(See image file). The link is dropped when approx 50% of the 8MB file is copied.

Should I be adding any additional firewall rules to the router? At the moment only port forwarding is allowed for udp and tcp connection to the neoserver ip address.

Thanks and Regards,

piman


Attachments:
File comment: Dropped Messages
Dropped1.png
Dropped1.png [ 299.58 KiB | Viewed 3394 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: