1 00:00:01,990 --> 00:00:08,700 Mostly little machines are used for development mentors like learning I'm upset about on board 8:0 or 2 00:00:08,700 --> 00:00:18,950 get a base board on double 3 0 6 and for other purposes that requires specific ports to be available. 3 00:00:19,720 --> 00:00:26,170 If a guest is operating in bridged networking mode we're going to be able to access the ports on the 4 00:00:26,170 --> 00:00:29,500 guest unless they are blocked by our firewall. 5 00:00:31,680 --> 00:00:38,050 But if a guest is in lurk mode we don't have a way of getting to the ports. 6 00:00:38,840 --> 00:00:49,090 That a guest might be using to host our service Roger baulks gets around this limitation by allowing 7 00:00:49,090 --> 00:00:54,430 you to map or forward upload from a guest to a port on the host 8 00:00:58,260 --> 00:01:06,200 making whatever services is running on that guest board accessible at the hosted address with a different 9 00:01:06,200 --> 00:01:06,990 board. 10 00:01:08,770 --> 00:01:16,780 Let's take a moment and install them over here in the agast are based on Apache and if you are on Windows 11 00:01:17,500 --> 00:01:22,760 you could install XM or similar to follow along. 12 00:01:23,460 --> 00:01:24,130 All right. 13 00:01:24,130 --> 00:01:26,820 Apat install Abaci too. 14 00:01:27,150 --> 00:01:35,870 If you open up Firefox and visit my guest address I can see the welcome page for the web server. 15 00:01:38,230 --> 00:01:44,870 Trying to receive the same address over here on my host will give me an error. 16 00:01:45,060 --> 00:01:47,940 I need to forward it. 17 00:01:48,110 --> 00:01:50,220 The road through to host 18 00:01:53,350 --> 00:01:55,470 to make this database accessible. 19 00:01:55,630 --> 00:02:00,790 I need to forward the board in order to configure port forwarding. 20 00:02:01,300 --> 00:02:05,050 There are two parts to get the same result. 21 00:02:05,200 --> 00:02:12,280 If your system is just running in that mode you can go into the machine network settings under the laws 22 00:02:12,910 --> 00:02:15,590 and click the port forwarding button. 23 00:02:18,750 --> 00:02:26,070 For me it's December because instead of Nag I am using TechNet log so I need to make the team at the 24 00:02:26,070 --> 00:02:30,300 network level to do that. 25 00:02:30,400 --> 00:02:37,340 I will go to the preferences for what toolbox and choose network and then select my net network 26 00:02:42,210 --> 00:02:42,530 here. 27 00:02:42,540 --> 00:02:50,470 There's a board for billing but then whichever route you take you will come to this window to setup 28 00:02:50,530 --> 00:02:52,440 port forwarding rules. 29 00:02:54,910 --> 00:03:02,430 To add a rule I will click like on here with the green plus I can give the rule name. 30 00:03:02,920 --> 00:03:05,260 I will call it web server. 31 00:03:06,670 --> 00:03:11,320 And I can do it between TZP and UDP for my web server here. 32 00:03:11,320 --> 00:03:16,940 I need DCP but some others have seized me may need UDP or both. 33 00:03:18,970 --> 00:03:20,400 And in which case 34 00:03:25,010 --> 00:03:28,270 you don't make one rule for each protocol. 35 00:03:28,280 --> 00:03:37,810 I believe the host IP blank and the host board is set to 8 0 8 0. 36 00:03:37,950 --> 00:03:48,800 I need to use a board about 1 dealer to 4 on a Linux or Mac host but I can use anything I want on Windows 37 00:03:50,940 --> 00:03:56,880 then I need to put in the guest IP address and remember Diaby. 38 00:03:56,890 --> 00:04:05,420 In my case as you can see on the screen there because my machine is and on magnet log if it were just 39 00:04:05,420 --> 00:04:11,040 on that the IP would be different based on default settings. 40 00:04:12,240 --> 00:04:16,760 You can double click the IP with the networking tools for your platform. 41 00:04:17,840 --> 00:04:24,960 The level set the guest for 2 8 0 which is the board that the web service is running on. 42 00:04:25,860 --> 00:04:29,020 Then I will press OK and leave the settings. 43 00:04:33,100 --> 00:04:38,350 You may be prompted locks to the port through the firewall. 44 00:04:38,350 --> 00:04:46,160 No I will go back to browser on my home system and I and type in localhost. 45 00:04:46,210 --> 00:04:58,760 Remember this is a port on the host computer that we are accessing and we use it 0 8 0 4 4 8 8 0 0 there's 46 00:04:58,780 --> 00:05:02,840 my welcome they showed from the guest Twichell machine. 47 00:05:03,160 --> 00:05:06,610 I got access this from other computer in my network. 48 00:05:07,960 --> 00:05:10,820 Using the IP address of the host I am. 49 00:05:10,850 --> 00:05:16,340 Had happened to know my IP here on the host is. 50 00:05:17,130 --> 00:05:19,520 And for these 8 0 0. 51 00:05:19,540 --> 00:05:28,990 And there we go as a common uses for port forwarding to against include allowing access it on a remote 52 00:05:28,990 --> 00:05:36,430 shell or desktop access and opening a board for ideas on the development of virtual machine. 53 00:05:37,350 --> 00:05:45,450 If you forward a board and you are not able to connect to the service you expect to walk be sure you 54 00:05:45,960 --> 00:05:53,190 be sure to check whether that gets to as has a firewall that blocking access.