YVD - Routers, Port Fowarding, Connection Problems, and Firewalls Ultimate Connection Help Topic - Read Before Posting
#1 Guest_Master O_*
Posted 23 October 2005 - 01:43 PM
Ah, routers... the piece of hardware that those on #YVD and Xerocreative have grown to hate...
Chances are, this piece of hardware was installed when you got your broadband connection and you probably ignored it, thinking that you wouldn't really have to know what it did, as long as you could access the internet.
Now, since you can't host in YVD, You're probably wondering what on earth a router does and how to configure it for YVD so you don't have to listen to me any further...
--WHAT IS A ROUTER?--
A router acts like your computer's own personal bodyguard between the computer itself (including other computers also set up for the same router) and the vast untamed expanse we call the Internet. In fact, it is a glorified firewall, like Zone Alarm or Norton Internet Security. As a result, routers are, by default, set to block and prohibit most anyone or anything that attempts to connect to your computer, and in general, are very paranoid of anything that is not you. In other words, every time you access the internet, download files, play games, etc., that traffic goes through the router BEFORE it comes to your actual computer and determines where and if the traffic is allowed to go at all.
And of course, there are those with routers AND the Windows Firewall AND a firewall like Zone Alarm or Norton Internet Security enabled. I cannot emphasize enough: EXCLUDING YOUR ROUTER, TURN OFF ALL OTHER FIREWALLS ON YOUR COMPUTER. If you have more than 1 firewall and router enabled on your computer, they will conflict with each other and nothing will work. One firewall will allow YVD but another will block it and ... you don't want those headaches, so just turn of all firewalls except your router.
So what does this explanation have to do with YVD? Why should you, the average net duelist, even care?
Well, the answer is simple: if you have a router with your nice broadband connection, and it isn't configured properly, then don't expect to host with YVD!!
In other words, DON'T COMPLAIN ABOUT NOT BEING ABLE TO HOST WHEN YOU HAVEN'T EVEN BOTHERED TO TRY TO FIX THE PROBLEM!
---------------------------------
2) SO WHAT DO I DO THEN?
a) Glad you asked.
Since we have now established you have a router, I have to get more technical. (Sorry, that's how routers are) You must set up something called a "Static" IP address for your own computer so the router knows where to send certain kinds of traffic, like YVD, otherwise it will just reject YVD's connection attempts. An IP address is essentially your Computer's Telephone Number, that you already know is usually used for hosting in YVD. But here is the rub: every time you turn on your computer, your IP ADDRESS CHANGES when you are connected to the internet.
This is commonly known as a "Dynamic IP" address. Routers do not like Dynamic IP addresses when it comes to port forwarding because as we know, dynamic ips always change each time you connect to the internet after entering Windows. The router likes 1 stable IP address, hence a "Static" ip address, so it can always know where it is allowing traffic into (for YVD purposes).
Now of course, without a router, you just give your opponent your IP and you can host and duel without problems. [You wouldn't have to listen to some semi-geek like me with no life talk about this.]
But with a router, when someone wants to duel you and you give them your ip address while behind a router, their connection attempt will go to that unconfigured router FIRST (being your computer's bodyguard) and because the router doesn't have a specific IP address, otherwise known as your computer, and a specific Port to send the information to, the router will reject it.
That is why "Connection Forcefully Rejected" and "Connection Timed Out" are error messages frequently seen among net duelists with misconfigured routers. In more simple terms, you almost have to "approve" your IP address with the router before it will let you host with YVD.
Setting up a Static IP addresss can be found here: http://www.portforwa...g/static-xp.htm This is important to understand BEFORE continuing any further with router configuration. This MUST be configured first. After you have done this, continue to Step 2b.
B) Also, you need to know the NAME and MODEL Number of your router. This is not hard to find out, assuming you were paying attention to whoever set up the router in the first place.
so for example, Linksys BEFVP41. Linksys is the NAME of the router and BEFVP41 is the model number.
----------------------------------
Everything below is after you have set up a Static-IP address properly.
Btw, PLEASE do everything in this tutorial with another person so that way if something goes wrong, you can reset any settings to their defaults. This also goes for setting up the static-ip. When it comes to troubleshooting computer problems, always make sure you can return everything to their original states if there is a problem. DO NOT COMPLAIN to me if anything strange should arise. You have been warned.
Now onto the configuration:
3) UNAVOIDABLE TECHNICAL STUFF - ACCESSING THE ROUTER'S SETTINGS
a) now in Windows, go press the "Start Button," then "RUN" then type cmd and press enter.
B) In the new window, type ipconfig/all and press enter.
c) You will see the following info bombard you:
Windows IP Config:
Primary DNS Suffix:
Node Type:
IP Routing Enabled:
WINS Proxy Enabled:
DNS Suffix Search List:
Ethernet adaptor Local Area Connection:
Connection-Specific DNS Suffix:
Description:
Physical Address:
DCHP Enabled:
Autoconfiguration Enabled:
IP Address:
Subnet Mask:
----->Default Gateway<-----
DHCP Server
DNS Server
Lease Obtained
Lease Expired
You can ignore ALL the information above, except that which has arrows pointing at it.
Remember what I said before about the router being your bodyguard protecting your computer from the internet? Do you also remember what I said about your computer having an IP address? Well, your router has an IP addresss, as well.
This address is called "the Default Gateway." It is essentially your Router's Phone Number, meaning once you access it, you can configure the router however you like! (Some routers may have 2 of these, so ask whoever set it up which one is the one for the router. However, 99% of routers have only 1 default gateway)
Write down this number (the Default Gateway)
d) Type the default gateway number into Internet Explorer, Firefox, or whatever other web browser you have and press enter.
e) You will now get a username and password screen asking you for that info. [NOTE: Now, you will have to find out what these are by asking whoever set up the router.] Once you successfully enter the username and password you will end up at the routers configuration screen.
or Go to www.portforward.com and look for your particular router and model number for default passwords and other setup information if the router has not been modified before you.
4) DIVERGING PATHS
WARNING: the next steps vary GREATLY from Router to Router. However, every router will have a "Forwarding" option for you to open the necessary ports for YVD. So for
demonstration purposes, I will talk about the Linksys BEFVP41 configurations settings
a) On the main screen for the Linksys BEFVP41 router, click on the "Advanced" tab and disable "Block WAN Request." Press "Apply" to Save the Changes
B) Next, click on the "Forwarding" tab, you will see a screen with the following:
Customized Applications, Ext Port , Protocol TCP , Protocol UDP , IP Address , Enable
c) Enter the following into their respective spots
Yugioh Virtual Desktop, 7237 to 7240 , Check the box , Check the box ,Your computers's IP, Enable
d) So what you have just done is tell the router "Please send all traffic for Yugioh Virtual Desktop through TCP and UDP ports 7237, 7238, 7239, and 7240" to the computer that has this ip address above. That IP address is your computer. Because this ip is static, and will not change, any traffic to these ports will be allowed when you host in Yugioh Virtual Desktop.
Press "Apply" to save the changes
Congratulations! You can now host!
Lastly, make sure ALL OTHER FIREWALLS are turned off once you successfully port forward YVD.
THIS MEANS TURN OFF WINDOWS FIREWALL, NORTON INTERNET SECURITY, ZONE ALARM, OR WHATEVER FIREWALLS YOU HAVE ON YOUR COMPUTER.
I hope this attempts to demistify the hosting process. I know that this is very technical, but this is the nature of routers.
Hopefully this will be of some help to people.
#2 Guest_Arruz_*
Posted 06 November 2005 - 06:02 AM
Portforward has decide to help out all of us YVD users. You can now follow these new instructions which should be a little more easier to understand:
How to Host YVD - Router Configuration (Not modem configuration)
1) Goto the online guide website from PortForward: http://www.portforward.com (Click 'Forwarding' at the top, if necessary)
2) Find your brand of router (ie. Linksys, D-Link, etc.) and click the correct model number of your router (Which can be found on the router itself).
3) Find the 'Y' section and click 'Yugioh Virtual Desktop'
4) Follow the instructions as presented. Read everything carefully. Do not skip anything. When prompted to enter port numbers, use: 7237-7240 instead of 7237-7239.
Note: If you cannot log into your router, then chances are the password was changed. Ask whoever set-up the router for this information.
Troubleshooting: If you still cannot host, try restarting YVD completely. If this still does not work, then chances are you will need to configure your firewall settings, or disable them. Typically Windows Firewall will prevent YVD from working. Goto 'Network Connections' to disable the Windows Firewall.
The method below works, but I personally think it's harder than above.
:w00t3: Learn to Host Quick-and-Easy: http://arruz.bravehost.com/Hosting/ :w00t3:
I spent about 2 days helping various people and the majority were able to host via this method: http://arruz.bravehost.com/Hosting/
- I made a website with pictures to make it easy to understand. Baby Steps!
The Major Step Process involes:
1) How do you get internet?
2) Finding the IP of the router and your computer...
3) Logging in to your Router...
4) Configuring the router so you can Host...
- Each of which is shown in detail.
---------------------------------------------------------------------------------
This post has been edited by DarkChaos: 09 March 2007 - 11:58 PM
#3 Guest_Master O_*
Posted 03 June 2006 - 06:14 PM
Answered by YVD Creator, MykeXero
MasterO said:
While helping people configure their routers and firewalls for YVD, I keep coming across a strange connection bug.
It seems that even after port forwarding routers, configuring firewalls properly, and connecting to opponents, the connection handshake does not seem to initialize properly. All players in the threads below keep complaining that both players do not see each other make moves, like drawing cards, even after the connection happened "successfully."
Could some kind of bug in YVD's netcode be causing this problem? I believe that it must be a bug because multiple people with different computer configurations keep complaining about it, and they have the same problem with everyone they connect to and/or host.
Could you look into this matter?
---------------
The topics below are examples of the glitch:
http://www.xerocreat...showtopic=10576
http://www.xerocreat...showtopic=11316
http://www.xerocreat...showtopic=11260
http://www.xerocreat...showtopic=11138
---------------
By the way, good luck on YVD X Beta testing!
MykeXero said:
Yes you can still be connected, but connection and talking are mutially exclusive.
Meaning that if Widnows doesnt tell YVD that its really not connected, then YVD doesnt know.
Major Edit: (7/26/2006)
Assuming that you have configured your router(s) and/or firewalls successfully, here are some other steps that you can try to get YVD Hosting working:
1) For NON-ENGLISH computers, please switch Windows' default language BACK to "English (United States)" or "English," depending on the version of Windows that you have.
To change this setting go to Start Menu, Control Panel, Regional and Language Settings.
2) Try setting the default MTU setting from 1500 to a higher number. If that does not work, put the setting back at 1500.
2nd Major edit: 11/4/2006
finalcounting said:
1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then click the following subkey in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters
3. Add a Protocols subkey (if it does not already exist). To do so:a. On the Edit menu, point to New, and then click Key.
b. Type Protocols, and then press ENTER.
4. Add a 0 (zero) subkey to the Protocols subkey. To do so: a. Click the Protocols subkey that you created step 3.
b. On the Edit menu, point to New, and then click Key.
c. Type 0 (zero), and then press ENTER.
5. Click the 0 subkey that you created in step 4.
6. On the Edit menu, point to New, and then click DWORD Value.
7. Type ProtocolType, and then press ENTER.
8. On the Edit menu, click Modify.
9. In the Value data box, type 800, make sure Hexadecimal is selected under Base, and then click OK.
10. On the Edit menu, point to New, and then click DWORD Value.
11. Type PPPProtocolType, and then press ENTER.
12. On the Edit menu, click Modify.
13. In the Value data box, type 21, make sure Hexadecimal is selected under Base, and then click OK.
14. On the Edit menu, point to New, and then click DWORD Value.
15. Type ProtocolMTU, and then press ENTER.
16. On the Edit menu, click Modify.
17. Under Base, click Decimal, type the MTU size that you want in the Value data box( in my case, 1600 worked), and then click OK.
18. Quit Registry Editor.
19. Restart your computer.
3rd Major Edit: 11/6/2006
master2004134, on Sep 16 2006, 08:26 PM, said:
Also, sometimes it may not work if you recently had a duel, especially if you use hamachi. To cure this, go offline then online on the network of your last duel (or restart hamachi) and this will release the address for another use. In the case of you/opponent hosting, YVD or the computer may need to be restarted (or, unplug the wire from your computer for the internet and plug it in).
This issue is also common if you try to duel using YVD X and your opponent uses 8.6...
This post has been edited by DarkChaos: 10 March 2007 - 12:01 AM
#4 Guest_Master O_*
Posted 09 March 2007 - 11:56 PM
Help with Misconfigured Software Firewalls
For People whose computers only have Software Firewalls (EXCLUDING routers):
BlackICE Defender
1) Go to "Tools," "Edit BlackICE Settings," then "Protection Level - Trusting"
2) Then, go to "Tools," "Advanced Firewall Settings," then click "Add"
3) You will see several fields: Name, IP Address, Port, Type, Mode, and Duration of Rule.
On the sides, it says All Addressess and All Ports.
4) Imput the following settings:
Name: YVD
Leave IP address blank.
Port: 7237-7240
Type: TCP
Mode: Accept
Duration of Rule: Forever
Then click on the box "All IP addresses"
Also do the same thing again, but make "UDP" the type.
When you are not playing YVD, just change the Mode to "Reject" and then change the Protection Level back to "Nervous" or "Paranoid," depending on what you had before
Norton Personal Firewall
1) Open up the Norton Personal Firewall program
2) Double click "Norton Personal Firewall," then "Programs". This page will show you a list of programs and the degree to which programs on your computer can connect to the internet.
3) If YVD is listed here, then where it says "Internet Access," click "Permit All"
4) If YVD is not listed here, click "Add," search for c:Program FilesYVDYugioh Virtual Desktop V086.exe, press "Open" [If necessary, repeat this step for c:Program FilesYVDYVD Relay Server.exe], THEN click , "Permit All."
5) On the Program Control screen, press "OK."
Windows Firewall
1) Open Windows Firewall. Click "On-Recommended"
2) Click on "Exceptions," then "Add Programs," find c:Program FilesYVDYugioh Virtual Desktop V086.exe, then press "Open."
3) Then, click on "Change Scope," and select "Any Computer - Including Those on the Internet," press "OK."
4) Place a checkmark on YGO Virtual Desktop if there isn't already one on the "Exceptions" screen.
5) Press OK again at the "Exceptions" screen.
Zone Alarm
1) On the left side of the screen, click on "Program Control"
2) Then click on the "Programs" tab
3) Click on "add" and search for c:Program FilesYVDYugioh Virtual Desktop V086.exe
4) You will notice it is now in the exceptions list.
5) click on "Trusted" and "Internet" under "Access" and "Server". They will then appear as green checkmarks, instead of Red Xes.
Hopefully, this article should be of some help to people without routers who still can't host...
One last item: If you have Windows Firewall and another firewall such as one mentioned above, turn off the windows firewall. Otherwise, the firewalls' separate settings will conflict with each other.
#5
Posted 23 November 2008 - 10:51 PM






This topic is locked











