This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

utorrent + ASGv7

The configuration is the following:

Torrent pc:
ip: 192.168.2.33
gateway: 192.168.2.100(ASG)
subnet: 255.255.255.0
torrent port 51568

1) I've created the networks under the definitions tab 
utorrent
host
192.168.2.33
interface 

2)I've created the service
TCP/UDP
source: 1:65535
Destination: 52568

3)I've created the packet filter
       i) Source -->any
          Service -->utorrent
          Destination--> Internal Network
       ii) Source-->utorrent (actual pc)
          Service-->utorrent
          Destination-->any

4) I've created the Nat rule
Traffic source-->Any
Traffic service-->utorrent
Traffic Destination-->External Wan (192.168.1.0/24 is the BT router)
NAT Mode-->DNAT (Destination)
Destination-->utorrent (actual pc)
Destination Service-->utorrent 
automatic packet fileter rule NOT checked

Could you please help me with the followings:

a)is the interface under point 1 set correctly as any?
b)Do i need to specify the BT hub gateway as traffic destination for the NAT rule? (gateway 192.168.1.254.BT hub has ip: 192.168.1.68 when connected to ASG by ethernet)

Hope it's clear guys...

PS: i 've also tried the socks4 proxy but didn't work[:S]


IPS seems to have 0 attacks for a week now?There is nothing on the logs.is that possible?


This thread was automatically locked due to age.
Parents
  • The configuration is the following:

    Torrent pc:
    ip: 192.168.2.33
    gateway: 192.168.2.100(ASG)
    subnet: 255.255.255.0
    torrent port 51568

    1) I've created the networks under the definitions tab 
    utorrent
    host
    192.168.2.33
    interface 

    2)I've created the service
    TCP/UDP
    source: 1:65535
    Destination: 52568

    3)I've created the packet filter
           i) Source -->any
              Service -->utorrent
              Destination--> Internal Network
           ii) Source-->utorrent (actual pc)
              Service-->utorrent
              Destination-->any

    4) I've created the Nat rule
    Traffic source-->Any
    Traffic service-->utorrent
    Traffic Destination-->External Wan (192.168.1.0/24 is the BT router)
    NAT Mode-->DNAT (Destination)
    Destination-->utorrent (actual pc)
    Destination Service-->utorrent 
    automatic packet fileter rule NOT checked

    Could you please help me with the followings:

    a)is the interface under point 1 set correctly as any?
    b)Do i need to specify the BT hub gateway as traffic destination for the NAT rule? (gateway 192.168.1.254.BT hub has ip: 192.168.1.68 when connected to ASG by ethernet)


    Sounds like you are double NATing?

    Normally you would do a DNAT rule like:
    Source: ANY
    Service: uTorrent
    Destination: Public IP (ISP Assigned)
    Change Destination to: TorrentPCIP

    Packet filter:
    Source: Any
    Service: UTorrent
    Destination: TorrentPCIP

    If you are double NATing then it complicates things but should still work.

    Is the packet filter showing dropped packets?  You may need similar rules on the BT router.
  • simon Shaw
    I applied the rules as you suggested (DNAT attached) and the packet filter (rule attached ). Still doesn't work 

    The packet rules I have at the moment are:
    1)any-->torrent-->utorrent (DNAT rule attached)
    2)internal network-->any-->voip protocol
    3)internal network-->any-->instant Messaging (IM) (only MSN allowed at the moment)
    4)Internal Network(192.168.2.0/24)-->Router (192.168.11.0/24)-->Windows Networking (NETBIOS)
    5)Internal network -->any-->terminal application
    6)intenal network-->any-->email services
    7)internal network-->any-->web surfing


    Not sure whether the packet filter make sense but I hope it does [:)]

    Tracker shows offline (times out)

    Could you please help me definin netbios rules on the following configuration

    Wireless router (192.168.11.0/24)
    !
    !
    !
    hub (connected client with 192.168.2.43 ip and 192.168.2.100 Gateway)
    !
    !
    ASG (192.168.2.100/24) WAN eth1 : 192.168.1.68 ,eth0:192.168.2.100
    !
    !
    !
    BT HUB (ISP) 192.168.1.254 gateway

    At the moment Users connected on the Hub cannot access shared data on wireless router. 

    Hope I am not asking a lot
  • I have the following configuration:

    I have a BT home hub 

    BT-----Astaro----Buffalo WZR-AG300NH

    BT HUB (broadband connection 8mb, PPPoA)
    -------
    192.168.1.254 Gateway
    DHCP enabled /wireless not enabled
    connects to Astaro :192.168.1.67

    Astaro
    -------------
    eth1 (connection with BT) 192.168.1.68
    eth0 connection with Buffalo 192.168.2.100
    DHCP server enabled
    DNS forwarder 192.168.1.254 (checking HTTP content seems to give me times of 180-220ms which indicates issue on the DNS 
    IPS einai panta 0.
    Masquerading
      Internal (Network)(192.168.2.0/24)-->External (WAN)

    Packet filter
    The packet rules I have at the moment are:
    1)any-->torrent-->utorrent 
    2)internal network-->any-->voip protocol
    3)internal network-->any-->instant Messaging (IM) (only MSN allowed at the moment)

    4)Internal Network(192.168.2.0/24)-->Buffalo network (192.168.11.0/24)-->Windows Networking (NETBIOS)

    5)Internal network -->any-->terminal application
    6)intenal network-->any-->email services
    7)internal network-->any-->web surfing


    Buffalo
    ------------
    DHCP server enabled,Wireless enabled
    Router can se switched to mode/access point but I want to have DHCP so to save ip and astaro can only have 2 ip (valid license for home)

    192.168.2.90 (connects to astaro)
    Gateway: 192.168.11.1 and DHCP server (192.168.11.x/24)
    DNS: 192.168.2.100
    NTP is not enabled

    I have rules that forward all trafic to Astaro:
    Accepted    LAN →INTERNET  192.168.11.1 192.168.2.100 
    Accepted  INTERNET→LAN  192.168.2.100 192.168.11.1 
    However,on the Buffalo firewall I am getting the following errors:
    FIREWALL   UDP connection denied from 192.168.2.33:137 to 192.168.2.255:137 (eth0) 

    Hope that helps. 
    Thanks Simon Shaw,BarryG,BAlfson for the help so far (As you understood I am a newbie with Astaro!)
  • OK, so you want to bridge the BT router then.

    Barry
  • i guess so. That will solve many issues i am facing

    like DNS time out
    httpproxy[3984]: [ 0xa45d1b0] dns_expire (dns.c:780) dns query timed out, retransmitting (retry 2)

    The problem here is I would not see the IP address of the NIC on the Astaro. The Home Hub seems to resolve the IP Address to a PC Name connected to it and only offers that in a read only drop down combo box. I need to assign an IP to it if possible. (picture attached). I tried to assigned a static ip on astaro but still BT hub only sees the pc attached and not the other device. I will have a look on ther docos. 

    Anyone with BT hub? [:P]

  • Anyone with BT hub? [:P]


    OK, so the BT Home Hub is connected via a PPPoA link.

    Bridge the BT hub.  I think you can find instructions on how to do this here:
    HomeHubHacks.co.uk | HowTo / Index

    http://www.homehubhacks.co.uk/index.php?n=HowTo.Bridge
    (Scroll down to PPP bridge).

    Next, change the external interface of the Astaro box to a PPPoA type connection and enter the ISP's login details.  Ensure you activate the connection once done.  (interface should be green).

    Save and restart the Astaro box.  Login to web admin and see if the PPPoA interface you made is active.   Ensure DNS settings in Astaro are correct.

    I've never used PPPoA but should be much the same as PPPoE.  You could even try telling Astaro to use DNS assigned by ISP in the DNS settings area.

    Basically, the Astaro box is now the BT hub, with the BT hub being turned into just a bit of dumb hardware that synchs up the connection to the ISP.  Astaro is now using it as a device to send your user/pass to the ISP and establish the connection.

    No more dbl NAT.

    Consider using Astaro as the DHCP server, should be good for up to 10 IP addresses I think.

    I would blow away all packet filter, NAT and masquerade rules and start again.

    Masquerade the internal network to the new PPPoA interface.
    For now, create a simple packet filter rule.
    Internal Network -> Any ->Any Allow
    Any ->torrentservice->torrent pc IP  Allow
    Enable HTTP proxy in transparent mode
    Create NAT rule as per my PDF above..

    Should be OK.  The trick will be following the instructions I posted for bridging.

    With the BT hub in bridge mode, you can now basically ignore it.


    Alternative: Buy a cheap-ass ADSL2+ modem that supports bridge mode on its menus rather than command line hacking the thing.
  • the latest BT firmaware doesn't allow u to telnet so I have to downgrade to earlier versions.£"$"£ BT

    Can you please tell me any cheap adsl2+ router that will work with Astaro in bridge mode?I think it's much easier If I buy a cheap one that I will use rather than hacking BT
  • Unsure what's popular in the UK.  We use Billion, Netcomm, Netgear, Linksys with success.
  • DSLReports may have more UK DSL users than are here.

    Barry
  • BT hub hack doesn't work so I am looking to buy a cheap adsl2+
  • Sorry to hear that.

    Check the new one has a "Bridge Mode" option.
  • Sorry to hear that.

    Check the new one has a "Bridge Mode" option.


    I am sure I can find a better model for £45 that will definately has bridge mode [:)] 
    (PS if you know any particular model that works let me know)
Reply
  • Sorry to hear that.

    Check the new one has a "Bridge Mode" option.


    I am sure I can find a better model for £45 that will definately has bridge mode [:)] 
    (PS if you know any particular model that works let me know)
Children
  • Most Billion ADSL modems support it, they are a bit pricier than average.  I'm not sure what models of modem are available in the UK.  Netgear should be OK.
  • Most Billion ADSL modems support it, they are a bit pricier than average.  I'm not sure what models of modem are available in the UK.  Netgear should be OK.


    1)The netgear DM111P would do the trick (ADSL 2+ Ethernet Modem - DM111P) supports full/half bridging.. I found out from the Netgear forums that :you can't pass usable IP on DM11P
    2)Thomson SpeedTouch 536. People seem to trust speedtouch for bridging [:)]
  • I am trying to bridge astaro to netgear DM111p but with no access. I've read post threads and noticed that PPPoA doesn't work always. My ISP is BT (UK)

    Dm111p settings

    System Up Time 00:10:56 
    Account Name *********   
    Firmware Version  V2.00.19  
    Boot Loader Version  1.1.5-1.0.4  
    ADSL Driver Version  3.3.2.2.0.1 
       
    ADSL Port  
    MAC Address  00:22:3f:54:c7:40  
    IP Address  86.160.13.240  
    Network Type  PPPoA Bridging   
    IP Subnet Mask  255.255.255.255  
    Gateway IP Address 217.47.166.144   
    Primary DNS Server  62.6.40.162  
    Secondary DNS Server  194.72.0.98  
       
    LAN Port 
    MAC Address  00:22:3f:54:c7:40  
    IP Address  192.168.0.1  
    DHCP  ON   
    IP Subnet Mask  255.255.255.0  
       
    Modem 
    Modem Status UP  
    DownStream Connection Speed 2688 kbps  
    UpStream Connection Speed 448 kbps  
    VPI 0  
    VCI 38  

    I set up the interface :

    Name: wan interface
    Type: DSL(PPPOA/PPTP)
    Hardware: eth0
    Default GW: checked box (if unchecked there is no box to manually assign gateway.I should normally set it as 217.47.166.144)
    Modem IP: 192.168.0.1 (dm111p ip)
    NIC Address: 192.168.0.67 (ip assgined to astaro)
    NIC Netmask: /24
    Ping address: 62.6.40.162 (dns address,ping to check that connection works)
    Username:  ********
    Password: *********
    Daily reconnect: never
    MTU: 1492
    Comment:

    The error log for the PPPOA is:
    2009:03:16-20:31:30 Astaro pppoa-sh: pptpc[22441] looking for IP info in /var/run/pptp/eth2#REF_fBjdPAGVpc 
    2009:03:16-20:31:30 Astaro pppoa-sh: pptpc[22441] /var/run/pptp/eth2#REF_fBjdPAGVpc not found, check ip-up script 
    2009:03:16-20:31:30 Astaro pppoa-sh: pptpc[22441] shutting down pptp connection  192.168.0.1
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] removing UNIX domain socket /var/run/pptp/192.168.0.1 
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] verifying running processes 
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] pppd: : call REF_fBjdPAGVpc ipparam eth2#REF_fBjdPAGVpc failed
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] pptp: call manager or gre-gateway failed
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] one or more processes missing 
    2009:03:16-20:31:35 Astaro pppoa-sh: pptpc[22441] shutting down pptp connection  192.168.0.1
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] removing UNIX domain socket /var/run/pptp/192.168.0.1 
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] encountered 1 errors so far 
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] connection terminated after 15 sec 
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] connection terminated prematurely 
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] restarting connection in 30 sec 
    2009:03:16-20:31:40 Astaro pppoa-sh: pptpc[22441] 1/3 critical error threshold 
    2009:03:16-20:32:35 Astaro pppoa-sh: pptpc[22441] initiating PPTP connection 
    2009:03:16-20:32:35 Astaro pppoa-sh: pptpc[22441] waiting 10 sec for ip-up script 
    2009:03:16-20:32:35 Astaro pppd-pppoa[22656]: pppd 2.4.3 started by (unknown), uid 0
    2009:03:16-20:32:35 Astaro pppd-pppoa[22656]: using channel 14
    2009:03:16-20:32:35 Astaro pppd-pppoa[22656]: Using interface ppp0
    2009:03:16-20:32:35 Astaro pppd-pppoa[22656]: Connect: ppp0  /dev/ttyp0
    2009:03:16-20:32:36 Astaro pppd-pppoa[22656]: sent [LCP ConfReq id=0x1    ]
    2009:03:16-20:32:38 Astaro pppd-pppoa[22656]: Script /usr/sbin/pptp-current 192.168.0.1 --nolaunchpppd finished (pid 22659), status = 0x1
    2009:03:16-20:32:38 Astaro pppd-pppoa[22656]: Modem hangup
    2009:03:16-20:32:38 Astaro pppd-pppoa[22656]: Connection terminated.
    2009:03:16-20:32:38 Astaro pppd-pppoa[22656]: Exit.


    Anyone can point a direction?
  • Suggest you have a look at this thread.
    Netgear DM111P, a router, and PPPoA - Networking

    Let us know if firmware change etc works.  Does your ISP support PPPoE ?  Googling seems to imply they do.

    If so, put the modem into full bridge mode and use PPPoE settings on Astaro.
  • Suggest you have a look at this thread.
    Netgear DM111P, a router, and PPPoA - Networking

    Let us know if firmware change etc works.  Does your ISP support PPPoE ?  Googling seems to imply they do.

    If so, put the modem into full bridge mode and use PPPoE settings on Astaro.


    update 

    I have the latest firmware (I have v2 device). I 've tried PPPoA and it worked for 5 minutes then it died. I've got the dns and gateway setting but If I try to reconnect it just hungs.
    I ve tried changing PPPoA to cable dhcp and I immediately got the ip and gateway . However I can't get access to the internet (packet filter blocks everything despite the fact that I have any>any>any just to test the connection).
    2009:03:17-19:29:17 (none) pppoa-sh: pptpc[3443] PPTP over Ethernet Loop Control Script activated 
    
    2009:03:17-19:29:17 (none) pppoa-sh: pptpc[3443] waiting 10 seconds for mdw filter setup 
    2009:03:17-19:29:32 Astaro pppoa-sh: pptpc[3443] initiating PPTP connection 
    2009:03:17-19:29:32 Astaro pppoa-sh: pptpc[3443] waiting 10 sec for ip-up script 
    2009:03:17-19:29:33 Astaro pppd-pppoa[3880]: pppd 2.4.3 started by (unknown), uid 0
    2009:03:17-19:29:33 Astaro pppd-pppoa[3880]: using channel 1
    2009:03:17-19:29:33 Astaro pppd-pppoa[3880]: Using interface ppp0
    2009:03:17-19:29:33 Astaro pppd-pppoa[3880]: Connect: ppp0  /dev/ttyp0
    2009:03:17-19:29:34 Astaro pppd-pppoa[3880]: sent [LCP ConfReq id=0x1     ]
    2009:03:17-19:29:37 Astaro pppd-pppoa[3880]: sent [LCP ConfReq id=0x1     ]
    2009:03:17-19:29:40 Astaro pppd-pppoa[3880]: sent [LCP ConfReq id=0x1     ]
    2009:03:17-19:29:42 Astaro pppoa-sh: pptpc[3443] looking for IP info in /var/run/pptp/eth2#REF_mdsFOdpebF 
    2009:03:17-19:29:42 Astaro pppoa-sh: pptpc[3443] /var/run/pptp/eth2#REF_mdsFOdpebF not found, check ip-up script 
    2009:03:17-19:29:42 Astaro pppoa-sh: pptpc[3443] shutting down pptp connection  192.168.0.2
    2009:03:17-19:29:42 Astaro pppd-pppoa[3880]: Terminating on signal 15
    2009:03:17-19:29:42 Astaro pppd-pppoa[3880]: sent [LCP TermReq id=0x2 "User request"]
    2009:03:17-19:29:42 Astaro pppoa-sh: pptpc[3443] removing UNIX domain socket /var/run/pptp/192.168.0.2 
    2009:03:17-19:29:42 Astaro pppoa-sh: pptpc[3443] verifying running processes 
    2009:03:17-19:29:42 Astaro pppd-pppoa[3880]: Child process /usr/sbin/pptp-current 192.168.0.2 --nolaunchpppd (pid 3881) terminated with signal 15
    2009:03:17-19:29:42 Astaro pppd-pppoa[3880]: Modem hangup
    2009:03:17-19:29:42 Astaro pppd-pppoa[3880]: Connection terminated.
    2009:03:17-19:29:43 Astaro pppd-pppoa[3880]: Exit.



    I've tried the PPPoE on the dm111p but connects and drops immediately
    According to netgear PPPoE 1492 is the Max MTU value that PPPoE accepts (pic attached). However the astaro logs indicate that I should go for 1500
    2009:03:17-20:25:25 Astaro pppoe[5913]: Interface eth2 has MTU of 1492 -- should be 1500. You may have serious connection problems.
    
    2009:03:17-20:25:40 Astaro pppoe[5913]: Timeout waiting for PADO packets
    2009:03:17-20:25:40 Astaro pppoe-sh: Can not connect DSL AC - retry in 5 seconds
    2009:03:17-20:25:45 Astaro pppoe[5987]: Interface eth2 has MTU of 1492 -- should be 1500. You may have serious connection problems.
    2009:03:17-20:25:55 Astaro pppoe[5987]: recv (receivePacket): Network is down
    2009:03:17-20:26:00 Astaro pppoe[5987]: Timeout waiting for PADO packets
    2009:03:17-20:57:20 Astaro pppoe[8095]: Timeout waiting for PADO packets 


    I've also tried changing the MTU (1452,1492,1500)

    Any help guys? I am at the moment trying to configure PPPoE
  • I enabled the wireless as an access point and I am on the process of configuring PPPoA with dm111p
  • last update

    I've managed to make torrent work. I've set my vpn with work and everything works fine

    Best way to resolve such issues is to initiate the connection and live monitor the packet log and work backwords [[:)]]

    Thanks to everyone for helping [[:)]]
  • at the moment Simon I am getting a public ip but I am using cable DHCP I am trying to find the appropriate MTU for the PPPoA