Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-16-2007, 01:38 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Bypass Corporate Firewall:Urgent Soln required pls

Hi All,

In my company we have a lab(does not belong my companys corporate network. differnet network) with 6 systems.I wish to take the remote of one of the lab systems from my cubicle(companys corporate network)..The lab has a separate Broadband connection (Beetel ADSL Router)mainly for R and D purposes.I have Fedora installed on the remote system(lab system).I have installed Real Vnc server on the lab system.I port forwarded port 5900 of the router to port 5900 on the machine to be taken as remote. .I am able to take the remote desktop from someother machine within the lab lan as well as from my home in Chennai or from anyother browsing center for that matter.But the requirement is that I need to take the remote of that lab system from my company's corporate network that runs a firewall.The firewall blocks all outgoing connections to port 5900 on which vnc server installed on the lab system listens.So i am unable to take the remote of the lab system from the corporate network using the vnc viewer.I even tried port forwarding port 80 of the router to port 5900 of my lab but that din help as well...

Can anyone please provide me a permanentt solution so that I can bypass the corporate firewall and take the remote of the lab system from the corporate network?

I've browsed through a lot and nothing seems to work...I am very upset.I tried ssh tunnelling but even that does n seem to work..I am helpless and my eyes literally burn browsing all night..Help pls...........
Old 11-16-2007, 01:58 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
An obvious concern for anyone here is whether you are trying to do any of this without the company's knowledge or consent. Have you discussed this with the IT department, Systems admin, etc.?

The bureaucratic answer is that whoever set up the network would presumably know how to change it.
Old 11-16-2007, 02:14 PM   #3
LQ Newbie
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I don think teh network management group in my system would concentrate on all this and we cannot go behind them asking all this . And the requirement is with the consent of my manager.So I don think this si something unethical or so..My manager asked me to do this for some purpose...Pls help
Old 11-19-2007, 03:32 AM   #4
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 11-19-2007, 05:32 AM   #5
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,664

Rep: Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543
I have a very similiar situation where I work. The lab PCs connect to Linux servers that connect to the corporate LAN.
I have Samba running on the servers, with data directories from the lab PCs mounted on the Linux servers. From the corporate LAN it is possible to log in to the Linux servers and access these shares.
I also have VNC servers running on the lab PCs and have entries in my iptables based firewall scripts on the servers to port forward to the appropriate NAT attached lab PC for remote desktop control. Users can access the remote desktop via a browser on their desktop PC connected to the corporate LAN.

I am unclear as to your actual network layout. Is your Fedora system acting as a server for your lab PCs that form a NAT attached intranet?

If so, then my setup should also work in your situation. I do not think that your corporate LAN administrators will be blocking ports 5800 and 5900 for internal traffic on the corporate LAN behind the corporate firewall.
Old 12-14-2007, 01:41 PM   #6
LQ Newbie
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Firewall Preventing outgoing connection to VNC Server(Soln:SSH Tunnellling via Putty)

Hi friends

Finally I am done with my requirement.I used vnc with putty and I was able to break the corporate firewall as the outgoing traffic is encrypted using SSH tunnelling via putty.

Next time you face corporate firewall problems preventing you to ssh to any system outside your lan in the internet the best solution is to tunnel your outgoing traffic via putty.

I struggled a lot for this...

Excellent link.

Refer the above link and your VNC Remote Desktop issue by SSH tunnelling through Putty is done.Thereby you can bypass your corporate firewall.


corporate, firewall

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting webdav on different servers and authenticating it.. URGENT HELP required pls aussiesuree Linux - Newbie 0 10-05-2007 10:07 AM
need a web-based solution to bypass corporate proxy coontie Linux - Software 7 12-18-2006 09:58 PM
some bypass my firewall! prozac Linux - Security 5 10-30-2005 11:17 PM
Can route through bypass firewall? Randomandy Linux - Networking 1 08-15-2005 09:33 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration