Raspberry not reachable outside my network when connected via LAN

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a server based on raspberrypi. For a while, maybe two days, it should work on WiFi because I set my server up, but didn't have a LAN cable. After I purchased a LAN cable and connected the pi on LAN, I had to realize that the pi was reachable from inside a network but not from outside. The port forwarding was not the problem because I forwarded the port on my router just like to my WiFi interface. The only difference was that of course the mac address was different. Firstly I thought that I mistyped my Mac-address of the pi's ethernet, but I compared it a few times...
So, when the pi is conected through WiFi, I can reach it from outside the network, but when it's connected via lan, the pport is shown as filtered from outside.










share|improve this question









New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
    – Hermann
    13 mins ago














up vote
0
down vote

favorite












I have a server based on raspberrypi. For a while, maybe two days, it should work on WiFi because I set my server up, but didn't have a LAN cable. After I purchased a LAN cable and connected the pi on LAN, I had to realize that the pi was reachable from inside a network but not from outside. The port forwarding was not the problem because I forwarded the port on my router just like to my WiFi interface. The only difference was that of course the mac address was different. Firstly I thought that I mistyped my Mac-address of the pi's ethernet, but I compared it a few times...
So, when the pi is conected through WiFi, I can reach it from outside the network, but when it's connected via lan, the pport is shown as filtered from outside.










share|improve this question









New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
    – Hermann
    13 mins ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a server based on raspberrypi. For a while, maybe two days, it should work on WiFi because I set my server up, but didn't have a LAN cable. After I purchased a LAN cable and connected the pi on LAN, I had to realize that the pi was reachable from inside a network but not from outside. The port forwarding was not the problem because I forwarded the port on my router just like to my WiFi interface. The only difference was that of course the mac address was different. Firstly I thought that I mistyped my Mac-address of the pi's ethernet, but I compared it a few times...
So, when the pi is conected through WiFi, I can reach it from outside the network, but when it's connected via lan, the pport is shown as filtered from outside.










share|improve this question









New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have a server based on raspberrypi. For a while, maybe two days, it should work on WiFi because I set my server up, but didn't have a LAN cable. After I purchased a LAN cable and connected the pi on LAN, I had to realize that the pi was reachable from inside a network but not from outside. The port forwarding was not the problem because I forwarded the port on my router just like to my WiFi interface. The only difference was that of course the mac address was different. Firstly I thought that I mistyped my Mac-address of the pi's ethernet, but I compared it a few times...
So, when the pi is conected through WiFi, I can reach it from outside the network, but when it's connected via lan, the pport is shown as filtered from outside.







raspberry-pi






share|improve this question









New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 14 mins ago









Rui F Ribeiro

37.5k1375119




37.5k1375119






New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 18 mins ago









KNfinity

1




1




New contributor




KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






KNfinity is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
    – Hermann
    13 mins ago
















  • I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
    – Hermann
    13 mins ago















I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
– Hermann
13 mins ago




I assume an IPv4 environment. When setting up port-forwarding, you normally enter the target IP address, not the target MAC address. Instead, the built-in DHCP server should know the MAC address to the LAN interface is always given the same IP address. Also, you cannot forward the same port to two destinations. Can you check the IP/MAC/DHCP settings and add the detailed description to your question?
– Hermann
13 mins ago















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






KNfinity is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477791%2fraspberry-not-reachable-outside-my-network-when-connected-via-lan%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








KNfinity is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















KNfinity is a new contributor. Be nice, and check out our Code of Conduct.












KNfinity is a new contributor. Be nice, and check out our Code of Conduct.











KNfinity is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477791%2fraspberry-not-reachable-outside-my-network-when-connected-via-lan%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

The Forum (Inglewood, California)

Palaiologos