How to connect storage to web server with sshfs?
up vote
0
down vote
favorite
I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137.211). Later I set the fix public IP (193.6.179.221) and I could not connect the sshfs folder anymore. I think there is something with the routing, but what?
thx, István
routing sshfs
add a comment |Â
up vote
0
down vote
favorite
I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137.211). Later I set the fix public IP (193.6.179.221) and I could not connect the sshfs folder anymore. I think there is something with the routing, but what?
thx, István
routing sshfs
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137.211). Later I set the fix public IP (193.6.179.221) and I could not connect the sshfs folder anymore. I think there is something with the routing, but what?
thx, István
routing sshfs
I started to installed a vmware web server. The server first was in the local lan. (192.168.137.200) At this time I could attach (mount) a sshfs folder to the server from the host machine (192.168.137.211). Later I set the fix public IP (193.6.179.221) and I could not connect the sshfs folder anymore. I think there is something with the routing, but what?
thx, István
routing sshfs
routing sshfs
asked Feb 20 at 16:30
István Radics
5017
5017
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57
add a comment |Â
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1008094%2fhow-to-connect-storage-to-web-server-with-sshfs%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Are you using Ubuntu?
â user68186
Feb 20 at 16:34
yes. Why do you ask?
â István Radics
Feb 20 at 17:14
This looks more like a routing network related question rather than Ubuntu question.
â user68186
Feb 20 at 17:25
Does the web server have the IP 193.6.179.221? Either add a second network interface, which you connect to your local interface, or configure some kind of port forwarding. Anyway, I've never been in a situation where you set a public IP inside a NAT...
â vidarlo
Feb 20 at 17:48
This situation is bit more difficult. The host machine has 2 NIC. One for the local net and one to let out the virtual webserver. I had the same idea to add a second NIC to the web server toward the local net. I think the problem here that there is no route back from the web towards the local machine where the shared folder (storage) is. If I add a second NIC do I have to set something in the routing table?
â István Radics
Feb 20 at 17:57