LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2007, 01:11 PM   #1
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Forwarding a PORT to VBox


I want to forward a PORT from my HOST computer (Slack 11) to my guest Virutal Computer(WinXP), for a application I've created and needs an forwarded port to work properly.
But I have no idea how to do this.

In VBox settings under networking I have selected NAT, if I try to select Host interface, it asks me for interface, ok, ra0.
And an init and term application, what would I have to input there?
Oh, the guest computer has a manualy configured IP, 10.0.2.15 and it's gateway is 10.0.2.2.
When I try, from the guest, to i.e. ping the host(10.0.2.2) it pings corectly, if I try to access FTP from my guest on my host it works also.
But when I try to ping 10.0.2.15 from the host it doesn't work.
If I try to forward a port to 10.0.2.15 i.e.:
iptables -t filter -A FORWARD -p tcp --dport 3309 --syn -m state --state NEW -j ACCEPT
it doesn't work.
 
  


Reply


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
port forwarding on Belkin 4-port Cable/DSL Gateway Router sycamorex Linux - Networking 5 03-05-2007 03:27 PM
Any vbox users out there? Rollotamasi Linux - Software 1 01-23-2007 12:44 AM
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:10 PM.

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