Windows Server 2012 Port Forwarding

923 views
Skip to first unread message

Phoenix Gaming

unread,
May 21, 2015, 3:40:06 PM5/21/15
to gce-dis...@googlegroups.com
Hi all, 
I have just moved over to Google Cloud from Microsoft Azure and Im trying to port forward 3 ports, 1 UDP port and 2 TCP ports, I have tried fiddling about with the different settings and such, but I still cant connect to what Im trying to connect to. 

What I'm trying to connect to: Team Speak 3 Server
Ports: 
udp:9987
tcp:10011
tcp:30033

Help would be much appreciated!

Anthony Voellm

unread,
May 21, 2015, 3:46:30 PM5/21/15
to Phoenix Gaming, gce-dis...@googlegroups.com
What do you mean by forwarding?  Are your trying to open the firewall ports?  Keep in mind Windows has a firewall as does GCE networks.  You will need to open the ports on both.  Optionally you can turn off the Windows Firewall and depend only on the GCE Firewall but you have to assess what is best for you and your environment.

Now if you want to forward traffic from one VM to another for a NAT there is a feature called advanced routing you can use.

Cheers ... Tony

--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/29581442-8fa3-4d5a-aefb-9de9a8e45fd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Phoenix Gaming

unread,
May 22, 2015, 7:00:31 AM5/22/15
to gce-dis...@googlegroups.com, breth...@gmail.com
Cheers for the replly Tony, basically, Im creating my teamspeak server in a VM in a Windows Server 2012 and I need to connect to it from a standalone PC on my home network, so for that I assume i have to open GCE, The only problem is, Im a Junior Software Developer and so the technical jargon on the help page about the port forwarding does nothing but give me a headache, do I have to do the things it says e.g. below in PutTy SSH?
 
$ gcloud compute forwarding-rules create FORWARDING_RULE --target-pool TARGET_POOL [--region REGION]

Jeff Vaughan

unread,
May 22, 2015, 10:56:45 AM5/22/15
to gce-dis...@googlegroups.com, Phoenix Gaming, breth...@gmail.com
Hey,

In this case I think what you actually want is to adjust firewall rules.  Some quick clarification:

  - a firewall (among other things) controls what ports a client computer, like your home PC,
    is allowed to “see” when connecting to GCE instances.  [1]

  - a forwarding rule (among other things) is used to spread out traffic addressed from one 
    service to a bunch of different computers that can share the load needed to implement
    the service.  [2]

I can’t try it right now, but I think that following command ought to do what you’re looking for:

  $ gcloud compute firewall-rules create my-rule --allow udp:9987 tcp:10011 tcp:30033

Not that even after the GCE network will allow the traffic, you need to make sure that the instance you’re connecting to is set to allow it too.  I think by default the Windows firewall is reasonably restrictive, and you may need to make some adjustments on your windows instance too.

Best of luck!

Cheers,
Jeff


[1] https://cloud.google.com/compute/docs/networking
[2] https://cloud.google.com/compute/docs/load-balancing/
> >> gce-dis...@googlegroups.com ) to participate in discussions
> >> with other members of the Google Compute Engine community and the Google
> >> Compute Engine Team.
> >> ---
> >> You received this message because you are subscribed to the Google Groups
> >> "gce-discussion" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to gce-discussio...@googlegroups.com .
> >> To post to this group, send email to gce-dis...@googlegroups.com
> >> .
> >> To view this discussion on the web visit
> >> https://groups.google.com/d/msgid/gce-discussion/29581442-8fa3-4d5a-aefb-9de9a8e45fd6%40googlegroups.com
> >>
> >> .
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
> >
>
> --
> © 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
>
> Email preferences: You received this email because you signed up for the Google Compute
> Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate
> in discussions with other members of the Google Compute Engine community and the Google
> Compute Engine Team.
> ---
> You received this message because you are subscribed to the Google Groups "gce-discussion"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
> To post to this group, send email to gce-dis...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/11350a73-e4ca-45bb-8c41-c8ba64b20501%40googlegroups.com.

Anthony Voellm

unread,
May 22, 2015, 12:50:19 PM5/22/15
to Jeffrey Vaughan, Phoenix Gaming, gce-dis...@googlegroups.com

Adjusting the gce firewall is easier on the web. go to your project on cloud.Google.com and your project. Firewalls are under compute then network

Kamran (Google Cloud Support)

unread,
May 25, 2015, 12:27:28 PM5/25/15
to gce-dis...@googlegroups.com, breth...@gmail.com

I'm not expert of the Team Speak Server so I cannot help you on your project. However I thought you may want to look at the following public issue tracker link to see if it is related to your issue:  

Reply all
Reply to author
Forward
0 new messages