Mac VMware+NAT+CentOS(other OS)+공유기+Port Fowarding

iptime과 같은 공유기의 포트포워딩 설정을 통하여 데스크탑 웹서버를 운영하는 방법은 다소 쉽다. 하지만 윈도우나 맥OS에 VMware를 설치하여 웹서버를 운영할때는 NAT 설정을 해주어야만 웹서버를 제대로 운영할수 있다.

NAT 개념을 이해한다면 그리 어렵지 않게 VMware 를 통하여 웹서비스를 운영할수 있다

VMware에 CentOS를 GUI모드 또는  TEXT모드로 설치하고 Apache까지 띄우는데 성공했다면 설치된 CentOS의 IP를 확인해보자( #ifconfig )
다음으로 공유기에 현재 접속된 PC들의 IP를 확인해보자. 어떤가? CentOS의 IP가 공유기에 접속된 IP목록에 존재하지 않는것을 알수 있을것이다.  이해가 어렵다면 공유기의 DHCP 동적 IP 할당범위를 192.168.0.2 ~ 192.168.0.10 로 적용해보면 알것이다. 할당범위 이외의 IP(192.168.65.129)가 CentOS에 할당되어 있는것을 보게된다. 이것은 공유기를 통해 IP를 할당받는게 아니라는 뜻이다. 그럼 어디서 할당받는것일까? 바로 NAT 이 VMware로 설치된 OS에 가상으로  사설 아이피를 할당하고 있는것이다. 즉 공유기가 할당하는 사설 IP와 NAT이 할당하는 사설 IP는 다르다는것이다.  이러한 이유로 웹서버를 운영하는데 혼란을 느끼게 되는것이다.

VMware>CentOS>웹서버 구동후 웹서비스 작동여부 확인

– 로컬에서 작동여부 확인
1. 자신의 PC (192.168.0.3=로컬PC=웹서버)에서 확인하기
http://localhost/ 또는 http://127.0.0.1 또는 http://192.168.65.129(ifconfig로확인한IP)
2. 다른PC (192.168.0.4)에서 확인하기
http://192.168.65.129(ifconfig로확인한IP)로는 앞에서 언급했듯이 웹페이지가 열리지 않는다. 확인하려면 http://192.168.0.3로 해야하는데 이때 VMware NAT 설정에서 port forwarding 해주어야 작동여부를 알수 있다.

맥터미널>

[incomingtcp]
80 = 192.168.65.129:80


– ISP에서 부여된 유동IP로 작동여부 확인

1. 확인하기에 앞서 로컬PC설치된 OS의 방화벽 작동을 멈춘다.
윈도우 : 제어판>windows 방화벽 끔
V3 : 방화벽 끔
2. 공유기의 port forwarding 설정을 해준다.
로컬PC의 IP(192.168.0.3) 80포트를 개방
3. ISP에서 부여된 유동IP(http://58.129.222.213)로 확인한다.

위 내용은 VMware를 통하여 테스트 서버를 운영하려면 반드시 거처야하는 관문이다. 만약 FileMaker Server v10(v11) Advanced 를 사내에 유동IP로 구축하고자 할때 도움이 될것이다.

emma watson fights for gender equality with powerful un speechAll three will be among 19 Steelers making their playoff debuts. It’s cheap fake oakleys a stage Coates found himself thrust into in Denver, when he cheap nfl jerseys caught two passes for 67 yards against the Broncos while trying to fill the cheap ray bans massive void left by Brown. For the past several years, I have held a belief that “voice will be free” in the wireless industry. Much as in home telephone is now basically thrown in with cable and internet, in the ubiquitous “triple plays” or “bundles” cable and satellite companies offer their customers, I believe wireless voice is headed for “but wait there’s more” status.. The data on concussions seem irrefutable. All of us will be aware, as we watch Super Bowl XLVIII, that in Rhoden’s words, “The NFL brand of football is a particularly violent game, and every time it is played, people get hurt.” We accept that. Another cutting in approach, beading, can practically eliminate the need to use masking tape to protect one painted area from another. Use cheap jordans a beveled trim brush with nice long bristles. Learn about the game of football and the safety measures that have been put in place to protect them so you worry less. Ask the tough questions: find out whether your child’s coach is Heads Up Football certified. When the race starts, the children rush over to the balloons. Each puts one on his chair and then must use only his body weight to pop the balloon. As noted by Buzzfeed, businesses like Pornhub and Ashley Madison, a dating website for people looking for encounters outside of their relationship, likely submitted a few of the ads on this list just to have them banned. Of course, the list of rejected Super Bowl commercials also includes several submissions from Bud Light, a regular advertiser during the game.. I didn’t know this when I started but I called Simon (240 455 3886) and I got help. Now I make 22.37% more on my display advertising than I did before and I’ve been selling a lot more product.. Well, you know, this week, you know, particularly in the Georgia area, in the Atlanta metro area, students had to sleep in schools, the highways were like a massive parking lot, thousands of people stranded in their cars for hours until the governor called in the National Guard. It’s also true, like, in the New Orleans area. Last week: unranked5. Todd Bowles, New York Jets: This spiraling outfit looks less competitive by the week, chewed up by a meat grinder of a schedule. Continue moving forward for another 10 yards, but focus on picking your feet up and wholesale jerseys china putting them down as quickly as possible. Keep your feet in front of you and try to complete as many steps as possible with the second 10 yards.