JuniperForum.com
November 18, 2008, 11:15:33 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: If you have an interesting idea for an article or knowledgebase entry, please submit it!
Home
Help
Login
Register
Store
Store - Featured Items
by
signal15
Store - Books
by
signal15
Store - Firewalls and VPN
by
signal15
Featured
Latest Knowledgebase Articles
How to run the NSM GUI under Mac OS X
by
signal15
How to setup a route-based VPN on a NetScreen
by
signal15
How to make your PPTP VPN client work through a NetScreen/SSG
by
signal15
Setting up a dial-up VPN and NetScreen Remote
by
signal15
How the Global Zone Works (It's probably not what you think)
by
signal15
How to configure NetScreen/SSG devices to work with the built in Mac OS X VPN client
by
signal15
How to Configure Dial-up VPN with route-based tunnels, XAuth, and use IPSecuritas
by
signal15
JuniperForum.com
>
Security
>
NetScreen and SSG Routing
> Topic:
How to guide port forwarding for emule azureus torrent
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to guide port forwarding for emule azureus torrent (Read 15595 times)
genevaroth
Newbie
Posts: 9
How to guide port forwarding for emule azureus torrent
«
on:
February 02, 2006, 01:22:34 PM »
After struggling with this and finding no info on the net I called juniper to get port forwarding straight and now I am sharing with you.
my setup is very straight forward and simple, I have a Netscreen 5gt with 3 pcs conected total. my emule and torrent apps are running on 192.168.2.1 and the 5gt is 192.168.2.1. and it is running in trust- untrust mode.
how to forward ports for emule or bit torrent or azureus;
login to your netscreen
go to;
Objects > Services > Custom
Click new
And create custom service and list all ports you will have to use for bit torrent
Name this; bit torrent
TCP src port: 1-65535, dst port: 56969-56969
TCP src port: 1-65535, dst port: 56881-56881
UDP src port: 1-65535, dst port: 56881-56881
TCP src port: 1-65535, dst port: 6885-6892
UDP src port: 1-65535, dst port: 6885-6892
Hit OK
then go to network>interface> and then edit untrust
then VIP > add new vip service
pick new service
virtual ip; (your outside ip that is assigned automatically by your ISP, this should be filled in automatically)
map to service; ( pick the custom service that you just made, bit torrent)
map to IP; (the box that you are running your service on, mine is 192.168.2.14)
hit OK
then go to
wizards> policy
pick
untrust to trust then next
Destination Address:
pick VIP(untrust) under address book
next
service
pick the service that you defined in the custom section
action permit
next
enable nat- don’t do anything here just click next
enable logging check that off and Enable count of traffic passed via the policy (this is so you can check to see the traffic- turn this off after you are happy with everything and it is all working)
next
Authentication Options
click none
next
Schedule:
none
next
finish
-------------
*****This step you must do- everyone forgets this step, forwarding will not work otherwise!!!*****
then you have to telnet into the netscreen
in windows go to start> run> then type in; CMD
black box will open and then type; telnet
then enter
then; open 192.168.2.1
(the 192.168.2.1 is the address of my 5gt)
then enter in the user name and password
and then type this command;
set vip multi-port
then it will return you to;
ns5gt->
then type;
reset
then type;
y
and again;
y
In reset ...
close the black box.
and you are good to go, in a couple of minutes! It will take 3-5 minutes for everything to start working. Fire up the apps and then log in to the 5gt and go reports> policies> and click on the grid thing to see the traffic. If this is not working after 10-15 mins try the telnet commands again and if still not working update firmware and clear all policies, VIP’s, and custom services.
Logged
russollis
Newbie
Posts: 2
Re: How to guide port forwarding for emule azureus torrent
«
Reply #1 on:
November 30, 2006, 04:54:00 PM »
Thanks for that!
Logged
Feren
Newbie
Posts: 1
Re: How to guide port forwarding for emule azureus torrent
«
Reply #2 on:
July 08, 2007, 12:30:18 PM »
Thanks so much for this How To, it got me up and rolling with Azureus on my SSG5 in no time. That telnet trick, I can see how people overlook that part since so much of the work is done on the web UI.
Mods: May I request that this be moved into the Knowledgebase? While there aren't many of us who use the SSG for home and generally spend our time at work trying to
prevent
it from working this was still invaluable.
Logged
seanovision
Newbie
Posts: 2
Re: How to guide port forwarding for emule azureus torrent
«
Reply #3 on:
March 18, 2008, 09:39:08 PM »
I've been struggling with this for too long myself, and though your instructions are the most thorough I've seen, it's not working out for me.
I'm trying to do Windows Remote Desktop over port 24... was trying to use 22, but netscreens don't like to do port forwarding on ports they potentially do remote admin on.
Anyway, the RD host is configured for port 24 and has been rebooted.
remote client = 192.168.2.123
remote host = 192.168.1.120
5gt untrust = 192.168.2.127 ; Route
5gt trust = 192.168.1.1 ; NAT
My Netscreen steps are close to the same as given before...
Objects > Services > Custom
Click new
Name this; Remote Desktop
TCP src port: 1 | 65535, dst port: 24 | 24
Hit OK
then go to network>interface> and then edit untrust
then VIP > add new vip service
pick new service
virtual ip; (your outside ip that is assigned automatically by your ISP, this should be filled in automatically)
map to service; ( pick Remote Desktop)
map to IP; (the box that you are running your service on, mine is 192.168.1.120)
hit OK
then go to
wizards> policy
pick untrust to trust then next
Destination Address:
pick VIP(untrust) under address book
next
service
pick the service that you defined in the custom section
action permit
next
enable nat- don’t do anything here just click next
enable logging check that off and Enable count of traffic passed via the policy (this is so you can check to see the traffic- turn this off after you are happy with everything and it is all working)
next
Authentication Options
click none
next
Schedule:
none
next
finish
-------------
*****This step you must do- everyone forgets this step, forwarding will not work otherwise!!!*****
then you have to console into the netscreen with hyperterminal
then enter in the user name and password
and then type this command;
set vip multi-port
then it will return you to;
ns5gt->
then type;
reset
then type;
y
and again;
y
.............................
All goes well but when I try to use RD from the client to the host, it cannot connect.
This is basically what wireshark says about it:
source 192.168.2.123 dest 192.168.2.127 TCP port 4652 > 24 [SYN] seq=0 len=0 mss=1460
source 192.168.2.123 dest 192.168.2.127 TCP port 4652 > 24 [SYN] seq=0 len=0 mss=1460
source 192.168.2.123 dest 192.168.2.127 TCP port 4652 > 24 [SYN] seq=0 len=0 mss=1460
....... and that's it.
5gt's logs: Reports > Policies
ID Source Destination Service Action
4 Untrust/Any Global/VIP(untrust) Remote Desktop Permit
2008-03-18 19:25:07 192.168.2.123:4652 192.168.2.127:24 192.168.2.123:4652 192.168.1.120:24 TCP PORT 24 21 sec. 198 0 Close - AGE OUT
2008-03-18 19:24:01 192.168.2.123:4651 192.168.2.127:24 192.168.2.123:4651 192.168.1.120:24 TCP PORT 24 20 sec. 198 0 Close - AGE OUT
2008-03-18 19:22:51 192.168.2.123:4650 192.168.2.127:24 192.168.2.123:4650 192.168.1.120:24 TCP PORT 24 22 sec. 198 0 Close - AGE OUT
The only other policy ID is #1, and it's permit any any
I can successfully RD from a local machine at 192.168.1.121 into 192.168.1.120:24!!
What am I doing wrong please? =/
Logged
seanovision
Newbie
Posts: 2
Re: How to guide port forwarding for emule azureus torrent
«
Reply #4 on:
March 22, 2008, 06:19:20 PM »
Figured it out. The problem was with my lab setup...
PC1 <----------------------> hub <---> PC2
^ ^
| |
--> (Trust) 5GT (Untrust)<----
Both PCs are running XP. PC1 has 2 NICs, one on the Trusted, the other on the Untrusted side. It is also the remote host. With both NICs active on PC1, and PC2 trying to remote into the Trusted -side NIC of PC1, the PC1 host sees the SYN ACK packets coming in but doesn't respond.
However, when the Untrusted NIC of PC1 is disabled, PC2 can remote into PC1's Trusted-side NIC through the 5GT perfectly!
Logged
lzaharia
Newbie
Posts: 1
Re: How to guide port forwarding for emule azureus torrent
«
Reply #5 on:
May 29, 2008, 11:25:35 AM »
Hello,
I tried to do something similar, but with the following as custom service:
TCP src port: 1-65535, dst port: 1100-65535
UDP src port: 1-65535, dst port: 1100-65535
The problem is that when I add the service to the VIP in the untrust, I am getting a message "Insufficient virtual ports on pool - [(128872) needed, (64) available] !"
Of course, if i choose as destination under 64 ports, all goes well, but I need it as it is.
Can anybody please help?
Thank you,
Liviu
Logged
matthiasD
Newbie
Posts: 1
Re: How to guide port forwarding for emule azureus torrent
«
Reply #6 on:
October 22, 2008, 03:58:08 AM »
Thank your for the great description, we tried to set up a port forward for a VNC session on 5900, no problems so far.
Our ISP uses dynamic IP adresses (as usual in germany) - when I'm setting the service, the netscreen uses a "current" IP address, can anyone tell if this still works, when the untrust IP adress changes ?
thanks,
Matthias
Logged
ncc1701w
Newbie
Posts: 10
Re: How to guide port forwarding for emule azureus torrent
«
Reply #7 on:
October 22, 2008, 01:26:20 PM »
" virtual ip; (your outside ip that is assigned automatically by your ISP, this should be filled in automatically) "
How about in ns208 where there is no option like this ?
Logged
Pages: [
1
]
Print
JuniperForum.com
>
Security
>
NetScreen and SSG Routing
> Topic:
How to guide port forwarding for emule azureus torrent
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Networking Platforms
-----------------------------
=> Routers
=> Switches
=> Configuration Examples and Tutorials
=> Feature Requests
-----------------------------
Security
-----------------------------
=> NetScreen and SSG
=> NetScreen and SSG VPN
=> NetScreen and SSG Routing
=> Virtual Systems
=> NSRP
=> NSM
=> Remote Access SSL VPN/UAC
=> IDP
=> Configuration Examples and Tutorials
=> Feature Requests
-----------------------------
Application Acceleration
-----------------------------
=> DX, WX, and WXC platforms
=> Configuration Examples and Tutorials
=> Feature Requests
-----------------------------
Non-juniper
-----------------------------
=> General Networking
=> Marketplace
=> Jobs, Employment for Network Engineers and Instructors
=> Non-network
-----------------------------
Site
-----------------------------
=> Suggestions/Feedback
Navigation
Forum/Home
Store
Articles
Tech Articles
Industry News
Site News
Knowledgebase
JUNOS/Routing
NS/ISG/SSG/NSM
SSL VPN
Downloads
Tools
Submit Article/KB
- Do not submit questions here.
Recent
Dual ISP links for redund...
by
dkraut
[
Today
at 07:15:29 PM]
SSL VPN - Ability to cust...
by
taterater
[
Today
at 06:53:54 PM]
SSL VPN - log on to two ...
by
taterater
[
Today
at 06:51:36 PM]
Using Source interface ba...
by
screenie.
[
Today
at 03:00:49 PM]
IPsec VPN b/w cisco 3845 ...
by
c0d3r
[
Today
at 12:59:42 PM]
J2300 connected to intern...
by
screenie.
[
Today
at 11:21:03 AM]
SSG for remote lotus clie...
by
hocine53
[
Today
at 08:58:36 AM]
DNS requests
by
andytomlinson
[
Today
at 08:45:58 AM]
Edit multiple interfaces ...
by
flooby
[
Today
at 08:30:59 AM]
ECMP Routes
by
incog
[
Today
at 06:48:02 AM]
Stats
Members
Total Members: 15090
Latest:
dddddie
Stats
Total Posts: 29961
Total Topics: 7444
Online Today: 47
Online Ever: 393
(August 06, 2008, 07:40:57 AM)
Users Online
Users: 2
Guests: 22
Total: 24
mmk
ijones
Loading...